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/cctools-7.1.2/batch_job/src/batch_task.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c
Examining data/cctools-7.1.2/batch_job/src/mesos_task.h
Examining data/cctools-7.1.2/batch_job/src/batch_job_k8s.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_condor.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_internal.h
Examining data/cctools-7.1.2/batch_job/src/batch_job_lambda.c
Examining data/cctools-7.1.2/batch_job/src/batch_wrapper.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c
Examining data/cctools-7.1.2/batch_job/src/mesos_task.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_mesos.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_mpi.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_k8s_script.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_local.c
Examining data/cctools-7.1.2/batch_job/src/batch_task.h
Examining data/cctools-7.1.2/batch_job/src/batch_file.c
Examining data/cctools-7.1.2/batch_job/src/batch_job.c
Examining data/cctools-7.1.2/batch_job/src/batch_wrapper.h
Examining data/cctools-7.1.2/batch_job/src/batch_job.h
Examining data/cctools-7.1.2/batch_job/src/batch_job_cluster.c
Examining data/cctools-7.1.2/batch_job/src/batch_file.h
Examining data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_chirp.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_amazon.c
Examining data/cctools-7.1.2/batch_job/src/batch_job_work_queue.c
Examining data/cctools-7.1.2/batch_job/src/work_queue_factory.c
Examining data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.c
Examining data/cctools-7.1.2/deltadb/src/deltadb_stream.h
Examining data/cctools-7.1.2/deltadb/src/deltadb_stream.c
Examining data/cctools-7.1.2/deltadb/src/deltadb_query.c
Examining data/cctools-7.1.2/deltadb/src/deltadb_reduction.c
Examining data/cctools-7.1.2/deltadb/src/deltadb_reduction.h
Examining data/cctools-7.1.2/chirp/src/chirp_stream.h
Examining data/cctools-7.1.2/chirp/src/chirp_status.c
Examining data/cctools-7.1.2/chirp/src/chirp_sqlite.h
Examining data/cctools-7.1.2/chirp/src/chirp_stream.c
Examining data/cctools-7.1.2/chirp/src/json.h
Examining data/cctools-7.1.2/chirp/src/chirp_group.h
Examining data/cctools-7.1.2/chirp/src/chirp_stream_files.c
Examining data/cctools-7.1.2/chirp/src/chirp_tool.c
Examining data/cctools-7.1.2/chirp/src/chirp_types.h
Examining data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c
Examining data/cctools-7.1.2/chirp/src/chirp_recursive.c
Examining data/cctools-7.1.2/chirp/src/chirp_filesystem.h
Examining data/cctools-7.1.2/chirp/src/chirp_client.c
Examining data/cctools-7.1.2/chirp/src/chirp_global.h
Examining data/cctools-7.1.2/chirp/src/chirp_global.c
Examining data/cctools-7.1.2/chirp/src/sqlite3.c
Examining data/cctools-7.1.2/chirp/src/confuga_adm.c
Examining data/cctools-7.1.2/chirp/src/json.c
Examining data/cctools-7.1.2/chirp/src/chirp_acl.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_local.h
Examining data/cctools-7.1.2/chirp/src/confuga_fs.h
Examining data/cctools-7.1.2/chirp/src/chirp_audit.h
Examining data/cctools-7.1.2/chirp/src/chirp_job.c
Examining data/cctools-7.1.2/chirp/src/chirp_matrix_benchmark.c
Examining data/cctools-7.1.2/chirp/src/chirp_alloc.h
Examining data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c
Examining data/cctools-7.1.2/chirp/src/chirp_alloc.c
Examining data/cctools-7.1.2/chirp/src/chirp_swig_wrap.h
Examining data/cctools-7.1.2/chirp/src/confuga.h
Examining data/cctools-7.1.2/chirp/src/chirp_fs_chirp.h
Examining data/cctools-7.1.2/chirp/src/chirp_get.c
Examining data/cctools-7.1.2/chirp/src/chirp_ticket.c
Examining data/cctools-7.1.2/chirp/src/chirp_fuse.c
Examining data/cctools-7.1.2/chirp/src/confuga_namespace.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_confuga.h
Examining data/cctools-7.1.2/chirp/src/chirp_acl.h
Examining data/cctools-7.1.2/chirp/src/chirp_multi.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.h
Examining data/cctools-7.1.2/chirp/src/confuga_gc.c
Examining data/cctools-7.1.2/chirp/src/chirp_audit.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c
Examining data/cctools-7.1.2/chirp/src/confuga.c
Examining data/cctools-7.1.2/chirp/src/chirp_reli.c
Examining data/cctools-7.1.2/chirp/src/chirp_put.c
Examining data/cctools-7.1.2/chirp/src/chirp_stats.c
Examining data/cctools-7.1.2/chirp/src/chirp_distribute.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_local.c
Examining data/cctools-7.1.2/chirp/src/chirp_matrix.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c
Examining data/cctools-7.1.2/chirp/src/chirp_recursive.h
Examining data/cctools-7.1.2/chirp/src/confuga_replica.c
Examining data/cctools-7.1.2/chirp/src/chirp_swig_wrap.c
Examining data/cctools-7.1.2/chirp/src/confuga_job.c
Examining data/cctools-7.1.2/chirp/src/chirp_server.c
Examining data/cctools-7.1.2/chirp/src/chirp_stats.h
Examining data/cctools-7.1.2/chirp/src/chirp_multi.h
Examining data/cctools-7.1.2/chirp/src/confuga_node.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c
Examining data/cctools-7.1.2/chirp/src/chirp_ticket.h
Examining data/cctools-7.1.2/chirp/src/chirp_thirdput.c
Examining data/cctools-7.1.2/chirp/src/chirp_thirdput.h
Examining data/cctools-7.1.2/chirp/src/chirp_reli.h
Examining data/cctools-7.1.2/chirp/src/json_aux.c
Examining data/cctools-7.1.2/chirp/src/sqlite3.h
Examining data/cctools-7.1.2/chirp/src/chirp_job.h
Examining data/cctools-7.1.2/chirp/src/chirp_filesystem.c
Examining data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.h
Examining data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c
Examining data/cctools-7.1.2/chirp/src/chirp_client.h
Examining data/cctools-7.1.2/chirp/src/confuga_file.c
Examining data/cctools-7.1.2/chirp/src/chirp_matrix.h
Examining data/cctools-7.1.2/chirp/src/chirp_protocol.h
Examining data/cctools-7.1.2/chirp/src/json_aux.h
Examining data/cctools-7.1.2/chirp/src/ioprio.h
Examining data/cctools-7.1.2/chirp/src/chirp_benchmark.c
Examining data/cctools-7.1.2/chirp/src/chirp_group.c
Examining data/cctools-7.1.2/chirp/src/chirp_sqlite.c
Examining data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c
Examining data/cctools-7.1.2/dttools/src/twister.c
Examining data/cctools-7.1.2/dttools/src/jx_print.h
Examining data/cctools-7.1.2/dttools/src/luapatt.c
Examining data/cctools-7.1.2/dttools/src/auth_test.c
Examining data/cctools-7.1.2/dttools/src/buffer.h
Examining data/cctools-7.1.2/dttools/src/full_io.c
Examining data/cctools-7.1.2/dttools/src/elfheader.c
Examining data/cctools-7.1.2/dttools/src/uuid.h
Examining data/cctools-7.1.2/dttools/src/md5.c
Examining data/cctools-7.1.2/dttools/src/memfdexe.c
Examining data/cctools-7.1.2/dttools/src/hmac.h
Examining data/cctools-7.1.2/dttools/src/auth_unix.c
Examining data/cctools-7.1.2/dttools/src/copy_tree.h
Examining data/cctools-7.1.2/dttools/src/sleeptools.h
Examining data/cctools-7.1.2/dttools/src/bitmap.h
Examining data/cctools-7.1.2/dttools/src/auth_address.c
Examining data/cctools-7.1.2/dttools/src/jx.h
Examining data/cctools-7.1.2/dttools/src/mkdir_recursive.h
Examining data/cctools-7.1.2/dttools/src/jx_getopt.h
Examining data/cctools-7.1.2/dttools/src/interfaces_address.h
Examining data/cctools-7.1.2/dttools/src/disk_allocator.c
Examining data/cctools-7.1.2/dttools/src/memfdexe.h
Examining data/cctools-7.1.2/dttools/src/jx_database.h
Examining data/cctools-7.1.2/dttools/src/nvpair.c
Examining data/cctools-7.1.2/dttools/src/chunk.c
Examining data/cctools-7.1.2/dttools/src/uptime.c
Examining data/cctools-7.1.2/dttools/src/fd.h
Examining data/cctools-7.1.2/dttools/src/domain_name.h
Examining data/cctools-7.1.2/dttools/src/list.h
Examining data/cctools-7.1.2/dttools/src/link_auth.h
Examining data/cctools-7.1.2/dttools/src/auth_address.h
Examining data/cctools-7.1.2/dttools/src/jx_binary_test.c
Examining data/cctools-7.1.2/dttools/src/sh_popen.h
Examining data/cctools-7.1.2/dttools/src/process.h
Examining data/cctools-7.1.2/dttools/src/hdfs_library.h
Examining data/cctools-7.1.2/dttools/src/rmonitor.c
Examining data/cctools-7.1.2/dttools/src/jx2json.c
Examining data/cctools-7.1.2/dttools/src/gpu_info.c
Examining data/cctools-7.1.2/dttools/src/auth_all.c
Examining data/cctools-7.1.2/dttools/src/load_average.h
Examining data/cctools-7.1.2/dttools/src/auth_kerberos.h
Examining data/cctools-7.1.2/dttools/src/change_process_title.h
Examining data/cctools-7.1.2/dttools/src/sort_dir.h
Examining data/cctools-7.1.2/dttools/src/daemon.h
Examining data/cctools-7.1.2/dttools/src/sigdef.c
Examining data/cctools-7.1.2/dttools/src/category.h
Examining data/cctools-7.1.2/dttools/src/category.c
Examining data/cctools-7.1.2/dttools/src/histogram_test.c
Examining data/cctools-7.1.2/dttools/src/multirun.c
Examining data/cctools-7.1.2/dttools/src/jx_canonicalize.h
Examining data/cctools-7.1.2/dttools/src/jx_test.c
Examining data/cctools-7.1.2/dttools/src/get_canonical_path.h
Examining data/cctools-7.1.2/dttools/src/uptime.h
Examining data/cctools-7.1.2/dttools/src/stats.c
Examining data/cctools-7.1.2/dttools/src/buffer.c
Examining data/cctools-7.1.2/dttools/src/itable.h
Examining data/cctools-7.1.2/dttools/src/elfheader.h
Examining data/cctools-7.1.2/dttools/src/http_query.c
Examining data/cctools-7.1.2/dttools/src/category_internal.h
Examining data/cctools-7.1.2/dttools/src/random.h
Examining data/cctools-7.1.2/dttools/src/stringtools.h
Examining data/cctools-7.1.2/dttools/src/fast_popen.h
Examining data/cctools-7.1.2/dttools/src/display_size.h
Examining data/cctools-7.1.2/dttools/src/sleeptools.c
Examining data/cctools-7.1.2/dttools/src/auth_hostname.c
Examining data/cctools-7.1.2/dttools/src/semaphore.h
Examining data/cctools-7.1.2/dttools/src/auth_globus.c
Examining data/cctools-7.1.2/dttools/src/auth_kerberos.c
Examining data/cctools-7.1.2/dttools/src/load_average.c
Examining data/cctools-7.1.2/dttools/src/shell.c
Examining data/cctools-7.1.2/dttools/src/jx_table.c
Examining data/cctools-7.1.2/dttools/src/rmonitor.h
Examining data/cctools-7.1.2/dttools/src/preadwrite.h
Examining data/cctools-7.1.2/dttools/src/catalog_query.h
Examining data/cctools-7.1.2/dttools/src/s3_file_io.h
Examining data/cctools-7.1.2/dttools/src/path_disk_size_info.c
Examining data/cctools-7.1.2/dttools/src/timer.c
Examining data/cctools-7.1.2/dttools/src/domain_name.c
Examining data/cctools-7.1.2/dttools/src/password_cache.h
Examining data/cctools-7.1.2/dttools/src/jx_function.c
Examining data/cctools-7.1.2/dttools/src/host_disk_info.c
Examining data/cctools-7.1.2/dttools/src/jx_parse.h
Examining data/cctools-7.1.2/dttools/src/nvpair_jx.c
Examining data/cctools-7.1.2/dttools/src/username.c
Examining data/cctools-7.1.2/dttools/src/rmonitor_poll_internal.h
Examining data/cctools-7.1.2/dttools/src/jx_match.h
Examining data/cctools-7.1.2/dttools/src/get_line.h
Examining data/cctools-7.1.2/dttools/src/jx_match.c
Examining data/cctools-7.1.2/dttools/src/auth_hostname.h
Examining data/cctools-7.1.2/dttools/src/disk_alloc.h
Examining data/cctools-7.1.2/dttools/src/rmsummary.c
Examining data/cctools-7.1.2/dttools/src/random.c
Examining data/cctools-7.1.2/dttools/src/hmac.c
Examining data/cctools-7.1.2/dttools/src/rmsummary.h
Examining data/cctools-7.1.2/dttools/src/nvpair_private.h
Examining data/cctools-7.1.2/dttools/src/path_disk_size_info.h
Examining data/cctools-7.1.2/dttools/src/create_dir.c
Examining data/cctools-7.1.2/dttools/src/datagram.h
Examining data/cctools-7.1.2/dttools/src/jx_canonicalize.c
Examining data/cctools-7.1.2/dttools/src/hash_table.c
Examining data/cctools-7.1.2/dttools/src/auth_all.h
Examining data/cctools-7.1.2/dttools/src/shell.h
Examining data/cctools-7.1.2/dttools/src/nvpair_jx.h
Examining data/cctools-7.1.2/dttools/src/mkdir_recursive.c
Examining data/cctools-7.1.2/dttools/src/jx_export.c
Examining data/cctools-7.1.2/dttools/src/auth_globus.h
Examining data/cctools-7.1.2/dttools/src/timer.h
Examining data/cctools-7.1.2/dttools/src/env_replace.c
Examining data/cctools-7.1.2/dttools/src/stringtools.c
Examining data/cctools-7.1.2/dttools/src/datagram.c
Examining data/cctools-7.1.2/dttools/src/cctools.c
Examining data/cctools-7.1.2/dttools/src/rmonitor_types.h
Examining data/cctools-7.1.2/dttools/src/clean_dir.c
Examining data/cctools-7.1.2/dttools/src/full_io.h
Examining data/cctools-7.1.2/dttools/src/link.h
Examining data/cctools-7.1.2/dttools/src/string_array.c
Examining data/cctools-7.1.2/dttools/src/jx_function.h
Examining data/cctools-7.1.2/dttools/src/getopt_aux.c
Examining data/cctools-7.1.2/dttools/src/jx_getopt.c
Examining data/cctools-7.1.2/dttools/src/rmonitor_poll.c
Examining data/cctools-7.1.2/dttools/src/auth.c
Examining data/cctools-7.1.2/dttools/src/interfaces_address.c
Examining data/cctools-7.1.2/dttools/src/catalog_query.c
Examining data/cctools-7.1.2/dttools/src/process.c
Examining data/cctools-7.1.2/dttools/src/copy_tree.c
Examining data/cctools-7.1.2/dttools/src/host_disk_info.h
Examining data/cctools-7.1.2/dttools/src/timestamp.c
Examining data/cctools-7.1.2/dttools/src/text_array.h
Examining data/cctools-7.1.2/dttools/src/jx_pretty_print.h
Examining data/cctools-7.1.2/dttools/src/s3_file_io.c
Examining data/cctools-7.1.2/dttools/src/display_size.c
Examining data/cctools-7.1.2/dttools/src/get_canonical_path.c
Examining data/cctools-7.1.2/dttools/src/libforce_halt_enospc.c
Examining data/cctools-7.1.2/dttools/src/compat-at.c
Examining data/cctools-7.1.2/dttools/src/getopt_aux.h
Examining data/cctools-7.1.2/dttools/src/jx_eval.c
Examining data/cctools-7.1.2/dttools/src/text_array.c
Examining data/cctools-7.1.2/dttools/src/copy_stream.h
Examining data/cctools-7.1.2/dttools/src/file_cache.c
Examining data/cctools-7.1.2/dttools/src/sha1.h
Examining data/cctools-7.1.2/dttools/src/set.h
Examining data/cctools-7.1.2/dttools/src/debug_stream.c
Examining data/cctools-7.1.2/dttools/src/jx_binary.h
Examining data/cctools-7.1.2/dttools/src/catch.h
Examining data/cctools-7.1.2/dttools/src/address.c
Examining data/cctools-7.1.2/dttools/src/pattern.c
Examining data/cctools-7.1.2/dttools/src/host_memory_info.h
Examining data/cctools-7.1.2/dttools/src/int_sizes.h
Examining data/cctools-7.1.2/dttools/src/unlink_recursive.h
Examining data/cctools-7.1.2/dttools/src/catalog_update.c
Examining data/cctools-7.1.2/dttools/src/category_test.c
Examining data/cctools-7.1.2/dttools/src/jx.c
Examining data/cctools-7.1.2/dttools/src/rmonitor_poll.h
Examining data/cctools-7.1.2/dttools/src/semaphore.c
Examining data/cctools-7.1.2/dttools/src/string_set.c
Examining data/cctools-7.1.2/dttools/src/timestamp.h
Examining data/cctools-7.1.2/dttools/src/sigdef.h
Examining data/cctools-7.1.2/dttools/src/macros.h
Examining data/cctools-7.1.2/dttools/src/url_encode.c
Examining data/cctools-7.1.2/dttools/src/envtools.h
Examining data/cctools-7.1.2/dttools/src/copy_stream.c
Examining data/cctools-7.1.2/dttools/src/xxmalloc.c
Examining data/cctools-7.1.2/dttools/src/histogram.c
Examining data/cctools-7.1.2/dttools/src/delete_dir.h
Examining data/cctools-7.1.2/dttools/src/getopt.c
Examining data/cctools-7.1.2/dttools/src/sh_popen.c
Examining data/cctools-7.1.2/dttools/src/sha1.c
Examining data/cctools-7.1.2/dttools/src/nvpair.h
Examining data/cctools-7.1.2/dttools/src/jx_pretty_print.c
Examining data/cctools-7.1.2/dttools/src/text_list.h
Examining data/cctools-7.1.2/dttools/src/uuid.c
Examining data/cctools-7.1.2/dttools/src/stats.h
Examining data/cctools-7.1.2/dttools/src/unlink_recursive.c
Examining data/cctools-7.1.2/dttools/src/set.c
Examining data/cctools-7.1.2/dttools/src/make_int_sizes.c
Examining data/cctools-7.1.2/dttools/src/debug_syslog.c
Examining data/cctools-7.1.2/dttools/src/jx_binary.c
Examining data/cctools-7.1.2/dttools/src/console_login.h
Examining data/cctools-7.1.2/dttools/src/jx2env.c
Examining data/cctools-7.1.2/dttools/src/dpopen.h
Examining data/cctools-7.1.2/dttools/src/get_line.c
Examining data/cctools-7.1.2/dttools/src/gpu_info.h
Examining data/cctools-7.1.2/dttools/src/preadwrite.c
Examining data/cctools-7.1.2/dttools/src/watchdog.c
Examining data/cctools-7.1.2/dttools/src/console_login.c
Examining data/cctools-7.1.2/dttools/src/link.c
Examining data/cctools-7.1.2/dttools/src/xxmalloc.h
Examining data/cctools-7.1.2/dttools/src/domain_name_cache.c
Examining data/cctools-7.1.2/dttools/src/fd.c
Examining data/cctools-7.1.2/dttools/src/daemon.c
Examining data/cctools-7.1.2/dttools/src/file_cache.h
Examining data/cctools-7.1.2/dttools/src/auth_ticket.h
Examining data/cctools-7.1.2/dttools/src/link_auth.c
Examining data/cctools-7.1.2/dttools/src/pattern.h
Examining data/cctools-7.1.2/dttools/src/envtools.c
Examining data/cctools-7.1.2/dttools/src/change_process_title.c
Examining data/cctools-7.1.2/dttools/src/b64.c
Examining data/cctools-7.1.2/dttools/src/string_set.h
Examining data/cctools-7.1.2/dttools/src/domain_name_cache.h
Examining data/cctools-7.1.2/dttools/src/itable.c
Examining data/cctools-7.1.2/dttools/src/hdfs_library.c
Examining data/cctools-7.1.2/dttools/src/address.h
Examining data/cctools-7.1.2/dttools/src/b64.h
Examining data/cctools-7.1.2/dttools/src/host_memory_info.c
Examining data/cctools-7.1.2/dttools/src/jx_database.c
Examining data/cctools-7.1.2/dttools/src/auth_unix.h
Examining data/cctools-7.1.2/dttools/src/path.c
Examining data/cctools-7.1.2/dttools/src/jx_eval.h
Examining data/cctools-7.1.2/dttools/src/create_dir.h
Examining data/cctools-7.1.2/dttools/src/list.c
Examining data/cctools-7.1.2/dttools/src/twister.h
Examining data/cctools-7.1.2/dttools/src/disk_alloc.c
Examining data/cctools-7.1.2/dttools/src/clean_dir.h
Examining data/cctools-7.1.2/dttools/src/url_encode.h
Examining data/cctools-7.1.2/dttools/src/histogram.h
Examining data/cctools-7.1.2/dttools/src/assert.h
Examining data/cctools-7.1.2/dttools/src/debug.c
Examining data/cctools-7.1.2/dttools/src/jx_export.h
Examining data/cctools-7.1.2/dttools/src/compat-at.h
Examining data/cctools-7.1.2/dttools/src/bitmap.c
Examining data/cctools-7.1.2/dttools/src/catalog_query_tool.c
Examining data/cctools-7.1.2/dttools/src/auth.h
Examining data/cctools-7.1.2/dttools/src/http_query.h
Examining data/cctools-7.1.2/dttools/src/path.h
Examining data/cctools-7.1.2/dttools/src/catalog_server.c
Examining data/cctools-7.1.2/dttools/src/dpopen.c
Examining data/cctools-7.1.2/dttools/src/password_cache.c
Examining data/cctools-7.1.2/dttools/src/debug.h
Examining data/cctools-7.1.2/dttools/src/sort_dir.c
Examining data/cctools-7.1.2/dttools/src/username.h
Examining data/cctools-7.1.2/dttools/src/hash_cache.c
Examining data/cctools-7.1.2/dttools/src/jx_table.h
Examining data/cctools-7.1.2/dttools/src/getopt_int.h
Examining data/cctools-7.1.2/dttools/src/disk_alloc_test.c
Examining data/cctools-7.1.2/dttools/src/jx_print.c
Examining data/cctools-7.1.2/dttools/src/fast_popen.c
Examining data/cctools-7.1.2/dttools/src/jx_count_obj_test.c
Examining data/cctools-7.1.2/dttools/src/hash_cache.h
Examining data/cctools-7.1.2/dttools/src/jx_parse.c
Examining data/cctools-7.1.2/dttools/src/text_list.c
Examining data/cctools-7.1.2/dttools/src/hash_table.h
Examining data/cctools-7.1.2/dttools/src/getopt.h
Examining data/cctools-7.1.2/dttools/src/cctools.h
Examining data/cctools-7.1.2/dttools/src/chunk.h
Examining data/cctools-7.1.2/dttools/src/string_array.h
Examining data/cctools-7.1.2/dttools/src/debug_journal.c
Examining data/cctools-7.1.2/dttools/src/microbench.c
Examining data/cctools-7.1.2/dttools/src/debug_file.c
Examining data/cctools-7.1.2/dttools/src/md5.h
Examining data/cctools-7.1.2/dttools/src/auth_ticket.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_test_watch.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_catalog.h
Examining data/cctools-7.1.2/work_queue/src/work_queue_protocol.h
Examining data/cctools-7.1.2/work_queue/src/work_queue_resources.h
Examining data/cctools-7.1.2/work_queue/src/work_queue_example.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_process.h
Examining data/cctools-7.1.2/work_queue/src/work_queue_test.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_json.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_json_example.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_internal.h
Examining data/cctools-7.1.2/work_queue/src/work_queue_test_main.c
Examining data/cctools-7.1.2/work_queue/src/work_queue.h
Examining data/cctools-7.1.2/work_queue/src/work_queue_priority_test.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_status.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_watcher.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_json.h
Examining data/cctools-7.1.2/work_queue/src/work_queue_resources.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_catalog.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_watcher.h
Examining data/cctools-7.1.2/work_queue/src/work_queue.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_process.c
Examining data/cctools-7.1.2/work_queue/src/work_queue_worker.c
Examining data/cctools-7.1.2/ftp_lite/src/network.c
Examining data/cctools-7.1.2/ftp_lite/src/error.c
Examining data/cctools-7.1.2/ftp_lite/src/radix.h
Examining data/cctools-7.1.2/ftp_lite/src/error.h
Examining data/cctools-7.1.2/ftp_lite/src/ftp_lite.c
Examining data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.c
Examining data/cctools-7.1.2/ftp_lite/src/ftp_lite_copy.c
Examining data/cctools-7.1.2/ftp_lite/src/radix.c
Examining data/cctools-7.1.2/ftp_lite/src/network.h
Examining data/cctools-7.1.2/ftp_lite/src/ftp_lite.h
Examining data/cctools-7.1.2/ftp_lite/src/login.c
Examining data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.c
Examining data/cctools-7.1.2/resource_monitor/src/rmonitor_snapshot.c
Examining data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.h
Examining data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.h
Examining data/cctools-7.1.2/resource_monitor/src/rminimonitor_helper.c
Examining data/cctools-7.1.2/resource_monitor/src/piggybacker.c
Examining data/cctools-7.1.2/resource_monitor/src/rmonitor_poll_example.c
Examining data/cctools-7.1.2/resource_monitor/src/rmonitor_file_watch.c
Examining data/cctools-7.1.2/resource_monitor/src/rmonitor_file_watch.h
Examining data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c
Examining data/cctools-7.1.2/resource_monitor/src/resource_monitor.c
Examining data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c
Examining data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c
Examining data/cctools-7.1.2/resource_monitor/test/msqrt.c
Examining data/cctools-7.1.2/resource_monitor/test/hogmem.c
Examining data/cctools-7.1.2/apps/wq_sort/wq_sort.c
Examining data/cctools-7.1.2/makeflow/src/dag_variable.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_resource_monitor.c
Examining data/cctools-7.1.2/makeflow/src/dag.c
Examining data/cctools-7.1.2/makeflow/src/dag_file.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_singularity.c
Examining data/cctools-7.1.2/makeflow/src/lexer.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c
Examining data/cctools-7.1.2/makeflow/src/parser_jx.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_hook_example.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_shared_fs.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_gc.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_catalog_reporter.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_vc3_builder.c
Examining data/cctools-7.1.2/makeflow/src/dag_resources.h
Examining data/cctools-7.1.2/makeflow/src/dag_node_footprint.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_storage_allocation.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_summary.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_mounts.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_local_resources.c
Examining data/cctools-7.1.2/makeflow/src/dag_resources.c
Examining data/cctools-7.1.2/makeflow/src/dag.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_catalog_reporter.h
Examining data/cctools-7.1.2/makeflow/src/parser_make.h
Examining data/cctools-7.1.2/makeflow/src/dag_node.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_hook.c
Examining data/cctools-7.1.2/makeflow/src/parser.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_docker.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_umbrella.c
Examining data/cctools-7.1.2/makeflow/src/lexer.h
Examining data/cctools-7.1.2/makeflow/src/dag_node_footprint.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_fail_dir.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_archive.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_status.c
Examining data/cctools-7.1.2/makeflow/src/dag_variable.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_log.h
Examining data/cctools-7.1.2/makeflow/src/makeflow.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_basic_wrapper.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_summary.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_hook.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_gc.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_local_resources.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_sandbox.c
Examining data/cctools-7.1.2/makeflow/src/parser.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_viz.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c
Examining data/cctools-7.1.2/makeflow/src/dag_visitors.h
Examining data/cctools-7.1.2/makeflow/src/dag_node.c
Examining data/cctools-7.1.2/makeflow/src/dag_file.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_alloc.h
Examining data/cctools-7.1.2/makeflow/src/makeflow_alloc.c
Examining data/cctools-7.1.2/makeflow/src/parser_jx.h
Examining data/cctools-7.1.2/makeflow/src/parser_make.c
Examining data/cctools-7.1.2/makeflow/src/dag_visitors.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_analyze.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_linker.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_log.c
Examining data/cctools-7.1.2/makeflow/src/makeflow_mounts.c
Examining data/cctools-7.1.2/doc/man/manual.h
Examining data/cctools-7.1.2/doc/man/manual_man.h
Examining data/cctools-7.1.2/doc/man/manual_html.h
Examining data/cctools-7.1.2/doc/man/manual_md.h
Examining data/cctools-7.1.2/parrot/src/pfs_table.cc
Examining data/cctools-7.1.2/parrot/src/pfs_table.h
Examining data/cctools-7.1.2/parrot/src/irods_reli.cc
Examining data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc
Examining data/cctools-7.1.2/parrot/src/pfs_time.cc
Examining data/cctools-7.1.2/parrot/src/parrot_debug.c
Examining data/cctools-7.1.2/parrot/src/pfs_paranoia.h
Examining data/cctools-7.1.2/parrot/src/parrot_md5.c
Examining data/cctools-7.1.2/parrot/src/pfs_time.h
Examining data/cctools-7.1.2/parrot/src/parrot_setacl.c
Examining data/cctools-7.1.2/parrot/src/linux-version.h
Examining data/cctools-7.1.2/parrot/src/pfs_resolve.c
Examining data/cctools-7.1.2/parrot/src/pfs_service.h
Examining data/cctools-7.1.2/parrot/src/pfs_dir.cc
Examining data/cctools-7.1.2/parrot/src/pfs_sys.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_http.cc
Examining data/cctools-7.1.2/parrot/src/pfs_mmap.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_local.cc
Examining data/cctools-7.1.2/parrot/src/pfs_location.cc
Examining data/cctools-7.1.2/parrot/src/parrot_search.c
Examining data/cctools-7.1.2/parrot/src/pfs_name.h
Examining data/cctools-7.1.2/parrot/src/pfs_pointer.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc
Examining data/cctools-7.1.2/parrot/src/pfs_service_glite.cc
Examining data/cctools-7.1.2/parrot/src/pfs_location.h
Examining data/cctools-7.1.2/parrot/src/parrot_locate.c
Examining data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc
Examining data/cctools-7.1.2/parrot/src/pfs_file.cc
Examining data/cctools-7.1.2/parrot/src/pfs_service_s3.cc
Examining data/cctools-7.1.2/parrot/src/pfs_file.h
Examining data/cctools-7.1.2/parrot/src/pfs_channel.c
Examining data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc
Examining data/cctools-7.1.2/parrot/src/pfs_dispatch.cc
Examining data/cctools-7.1.2/parrot/src/tracer.c
Examining data/cctools-7.1.2/parrot/src/pfs_mountfile.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc
Examining data/cctools-7.1.2/parrot/src/pfs_channel.h
Examining data/cctools-7.1.2/parrot/src/pfs_pointer.cc
Examining data/cctools-7.1.2/parrot/src/pfs_critical.h
Examining data/cctools-7.1.2/parrot/src/pfs_sysdeps.h
Examining data/cctools-7.1.2/parrot/src/parrot_client.c
Examining data/cctools-7.1.2/parrot/src/parrot_mkalloc.c
Examining data/cctools-7.1.2/parrot/src/pfs_refcount.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_xrootd.cc
Examining data/cctools-7.1.2/parrot/src/pfs_process.cc
Examining data/cctools-7.1.2/parrot/src/parrot_timeout.c
Examining data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc
Examining data/cctools-7.1.2/parrot/src/pfs_sysdeps64.h
Examining data/cctools-7.1.2/parrot/src/pfs_dispatch.h
Examining data/cctools-7.1.2/parrot/src/pfs_search.h
Examining data/cctools-7.1.2/parrot/src/parrot_namespace.c
Examining data/cctools-7.1.2/parrot/src/pfs_types.h
Examining data/cctools-7.1.2/parrot/src/parrot_mount.c
Examining data/cctools-7.1.2/parrot/src/pfs_paranoia.cc
Examining data/cctools-7.1.2/parrot/src/pfs_main.cc
Examining data/cctools-7.1.2/parrot/src/parrot_getacl.c
Examining data/cctools-7.1.2/parrot/src/pfs_service_grow.cc
Examining data/cctools-7.1.2/parrot/src/pfs_resolve.h
Examining data/cctools-7.1.2/parrot/src/ibox_acl.c
Examining data/cctools-7.1.2/parrot/src/pfs_process.h
Examining data/cctools-7.1.2/parrot/src/ibox_acl.h
Examining data/cctools-7.1.2/parrot/src/pfs_resolve_mount.c
Examining data/cctools-7.1.2/parrot/src/pfs_service.cc
Examining data/cctools-7.1.2/parrot/src/pfs_service_nest.cc
Examining data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc
Examining data/cctools-7.1.2/parrot/src/parrot_whoami.c
Examining data/cctools-7.1.2/parrot/src/pfs_file_cache.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_irods.cc
Examining data/cctools-7.1.2/parrot/src/parrot_cp.c
Examining data/cctools-7.1.2/parrot/src/pfs_sys.cc
Examining data/cctools-7.1.2/parrot/src/pfs_dir.h
Examining data/cctools-7.1.2/parrot/src/ptrace.h
Examining data/cctools-7.1.2/parrot/src/pfs_dircache.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_hdfs.cc
Examining data/cctools-7.1.2/parrot/src/irods_reli.h
Examining data/cctools-7.1.2/parrot/src/pfs_service_multi.cc
Examining data/cctools-7.1.2/parrot/src/pfs_dircache.cc
Examining data/cctools-7.1.2/parrot/src/parrot_helper.c
Examining data/cctools-7.1.2/parrot/src/parrot_package_create.c
Examining data/cctools-7.1.2/parrot/src/pfs_mountfile.c
Examining data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc
Examining data/cctools-7.1.2/parrot/src/pfs_service_lfc.cc
Examining data/cctools-7.1.2/parrot/src/parrot_client.h
Examining data/cctools-7.1.2/parrot/src/pfs_file_cache.cc
Examining data/cctools-7.1.2/parrot/src/pfs_service_ext.cc
Examining data/cctools-7.1.2/parrot/src/tracer.h
Examining data/cctools-7.1.2/parrot/src/parrot_lsalloc.c
Examining data/cctools-7.1.2/grow/src/grow.c
Examining data/cctools-7.1.2/grow/src/grow.h
Examining data/cctools-7.1.2/grow/src/grow_fuse.c

FINAL RESULTS:

data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:386: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(filename,0755);
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:250:54:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	char* cmd_tmp = string_format("%s\n%s\n%s\n",cpy_in,chmod,cmd);
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:39: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(wrapperfile, 0755);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:309:4:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			chmod(k8s_script_file_name, 0755);
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:75:6:  [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(readlink("/proc/self/exe", exe_path, MAX_BUF_SIZE) == -1) {
data/cctools-7.1.2/chirp/src/chirp_acl.c:246:21:  [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 length = cfs->readlink(filename, linkname, sizeof(linkname));
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:57:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	INT64_T (*readlink)  ( const char *path, char *target, INT64_T length );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:64:12:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	INT64_T (*chmod)     ( const char *path, INT64_T mode );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:65:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	INT64_T (*chown)     ( const char *path, INT64_T uid, INT64_T gid );
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:476:24:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	return hdfs_services->chmod(fs, open_files[fd].path, mode);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:651:24:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	return hdfs_services->chmod(fs, path, mode);
data/cctools-7.1.2/chirp/src/chirp_recursive.c:212: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.
	result = readlink(source_file, linkdata, sizeof(linkdata));
data/cctools-7.1.2/chirp/src/chirp_server.c:692:18:  [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.
			result = cfs->readlink(path, buffer, MIN(length, MAX_BUFFER_SIZE));
data/cctools-7.1.2/chirp/src/chirp_server.c:1121:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
				result = cfs->chmod(path, mode);
data/cctools-7.1.2/chirp/src/chirp_thirdput.c:113:17:  [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.
		result = cfs->readlink(lpath, newlpath, sizeof(newlpath));
data/cctools-7.1.2/dttools/src/compat-at.c:38:7:  [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 (readlink(procpath, dirpath, PATH_MAX) == -1)
data/cctools-7.1.2/dttools/src/compat-at.c:69:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	return chmod(fullpath, mode);
data/cctools-7.1.2/dttools/src/compat-at.c:125:9:  [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.
	return readlink(fullpath, buf, bufsize);
data/cctools-7.1.2/dttools/src/copy_tree.c:41:6:  [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.
	r = readlink(source, linkname, sizeof(linkname));
data/cctools-7.1.2/dttools/src/hdfs_library.c:188:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	HDFS_LOAD_FUNC(chmod, "hdfsChmod");
data/cctools-7.1.2/dttools/src/hdfs_library.h:70:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	int (*chmod) (hdfsFS, const char *, short);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:863:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	ssize_t n = readlink(cwd_link, cwd_org, PATH_MAX - 1);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:1026:17:  [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.
					size_t n = readlink(cwd_link, cwd_org, PATH_MAX - 1);
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:848:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
			if((len = readlink(output_file_path, buf, sizeof(buf)-1)) != -1)
data/cctools-7.1.2/parrot/src/parrot_cp.c:123:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		chmod(target,0700);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:531:7:  [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(new_path, default_regmode) == -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:536: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(new_path, source_stat.st_mode) == -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:563:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		if ((len = readlink(path, buf, sizeof(buf)-1)) != -1) {
data/cctools-7.1.2/parrot/src/pfs_dir.cc:54:23:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	return name.service->chmod(&name,mode);
data/cctools-7.1.2/parrot/src/pfs_dir.cc:59:23:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	return name.service->chown(&name,uid,gid);
data/cctools-7.1.2/parrot/src/pfs_process.cc:198:9:  [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 (readlink(fdlink, path, sizeof(path)-1) == -1)
data/cctools-7.1.2/parrot/src/pfs_service.cc:104:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
int pfs_service::chmod( pfs_name *name, mode_t mode )
data/cctools-7.1.2/parrot/src/pfs_service.cc:109:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
int pfs_service::chown( pfs_name *name, uid_t uid, gid_t gid )
data/cctools-7.1.2/parrot/src/pfs_service.cc:246:18:  [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 pfs_service::readlink( pfs_name *name, char *buf, pfs_size_t size )
data/cctools-7.1.2/parrot/src/pfs_service.h:37:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode );
data/cctools-7.1.2/parrot/src/pfs_service.h:38:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown( pfs_name *name, uid_t uid, gid_t gid );
data/cctools-7.1.2/parrot/src/pfs_service.h:48:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *buf, pfs_size_t bufsiz );
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:379:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:384:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown( pfs_name *name, uid_t uid, gid_t gid ) {
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:489:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *buf, pfs_size_t length ) {
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1107:18:  [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.
			return local->readlink(name,buf,bufsiz);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1149:3:  [5] (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. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
		strncat(xpath->rest, path_head, PFS_PATH_MAX - 1);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1178:6:  [5] (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. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
					strncat(xpath->rest, link_target, PFS_PATH_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1534:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod(pfs_name * name, mode_t mode) {
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1538:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown(pfs_name * name, uid_t uid, gid_t gid) {
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1581:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink(pfs_name * name, char *buf, pfs_size_t bufsiz) {
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:455:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink(pfs_name *name, char *buf, pfs_size_t bufsiz) {
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:195:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:644:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:651:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown( pfs_name *name, uid_t uid, gid_t gid ) {
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:717:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *buf, pfs_size_t bufsiz ) {
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:62:24:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		return name.service->chmod(&name,mode);
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:140:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:144:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown( pfs_name *name, uid_t uid, gid_t gid ) {
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:193:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *info, pfs_size_t length ) {
data/cctools-7.1.2/parrot/src/pfs_service_lfc.cc:242:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:428:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:433:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		result = ::chmod(name->rest,mode);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:436:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown( pfs_name *name, uid_t uid, gid_t gid ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:441:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
		result = ::chown(name->rest,uid,gid);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:677:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *buf, pfs_size_t size ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:682:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		result = ::readlink(name->rest,buf,size);
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:171:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:175:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown( pfs_name *name, uid_t uid, gid_t gid ) {
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:218:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *buf, pfs_size_t length ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:220:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:228:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *buf, pfs_size_t size ) {
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:346:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	virtual int chmod( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:351:14:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	virtual int chown( pfs_name *name, uid_t uid, gid_t gid ) {
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:400:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	virtual int readlink( pfs_name *name, char *buf, pfs_size_t bufsiz ) {
data/cctools-7.1.2/parrot/src/pfs_sys.cc:310:31:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	result = pfs_current->table->chmod(path,mode);
data/cctools-7.1.2/parrot/src/pfs_sys.cc:318:31:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	result = pfs_current->table->chown(path,p,uid,gid);
data/cctools-7.1.2/parrot/src/pfs_sys.cc:382:31:  [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.
	result = pfs_current->table->readlink(path,buf,size);
data/cctools-7.1.2/parrot/src/pfs_table.cc:249:9:  [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 (::readlink(path, selfname, sizeof selfname - 1) == -1) {
data/cctools-7.1.2/parrot/src/pfs_table.cc:409:33:  [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 rlres = new_pname.service->readlink(pname,link_target,PFS_PATH_MAX-1);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1298:16:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
int pfs_table::chmod( const char *n, mode_t mode )
data/cctools-7.1.2/parrot/src/pfs_table.cc:1304:27:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		result = pname.service->chmod(&pname,mode);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1310:16:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
int pfs_table::chown( const char *n, struct pfs_process *p, uid_t uid, gid_t gid )
data/cctools-7.1.2/parrot/src/pfs_table.cc:1316:27:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
		result = pname.service->chown(&pname,uid,gid);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1658:16:  [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 pfs_table::readlink( const char *n, char *buf, pfs_size_t size )
data/cctools-7.1.2/parrot/src/pfs_table.cc:1673:16:  [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.
				result = ::readlink(pname.path,buf,size);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1685:29:  [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.
				result = pname.service->readlink(&pname,buf,size);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1688:28:  [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.
			result = pname.service->readlink(&pname,buf,size);
data/cctools-7.1.2/parrot/src/pfs_table.h:83:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	int	chmod( const char *name, mode_t mode );
data/cctools-7.1.2/parrot/src/pfs_table.h:84:6:  [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 *name, struct pfs_process *p, uid_t uid, gid_t gid );
data/cctools-7.1.2/parrot/src/pfs_table.h:94:6:  [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 *path, char *buf, pfs_size_t size );
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1694:5:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    chmod(lib_helper_name, 0777);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:63:5:  [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(p->tmpdir, 0777) != 0) {
data/cctools-7.1.2/work_queue/src/work_queue_process.c:293:4:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			chmod(TMP_SCRIPT, 0755);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:339:5:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
				chmod(sub_proc_sh_fn_path, 0755);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1848:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		chmod(fname, 0755);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:148: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(remote_infile, basename(infile_dup));
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:168:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(outfile, "%s.%d", outfile_prefix, created_partitions);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:170:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(command, "./%s %s %s > %s", basename(executable), executable_args, remote_infile, outfile);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:172:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(command, "./%s %s > %s", basename(executable), remote_infile, outfile);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:259:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(partition_file, "%s.%d", partition_file_prefix, i);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:307:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(partition_file, "%s.%d", partition_file_prefix, i);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:590:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(sort_executable, "%s", argv[optind]);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:591:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(infile, "%s", argv[optind+1]);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:596:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(outfile, "%s.sorted", basename(infile_dup));
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:663:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(sample_partition_file_prefix, "%s.sample", outfile);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:666:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(sample_outfile, "%s.0", outfile);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:718:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(record_task_times_file, "%s.tasktimes", outfile);
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:245:16:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE * file = popen(str,"r");
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:403:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(cmd)==0) {
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:418:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int result = system(cmd);
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:453:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int result = system(cmd);
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:490:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int result = system(cmd);
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:60:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(wrapperfile, R_OK | X_OK) == 0) return 1;
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:146:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE *file = popen(command, "r");
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:157:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		if(sscanf(line, "Your job %" SCNbjid, &jobid) == 1
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:158:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		|| sscanf(line, "Submitted batch job %" SCNbjid, &jobid) == 1
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:159:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		|| sscanf(line, "%" SCNbjid, &jobid) == 1 ) {
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:258:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(command);
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:62:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(wrapperfile, R_OK | X_OK) == 0) return 1;
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:235:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE *file = popen(command, "r");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:244:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		if(sscanf(line, "Your job %" SCNbjid, &jobid) == 1
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:245:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		|| sscanf(line, "Submitted batch job %" SCNbjid, &jobid) == 1
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:246:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		|| sscanf(line, "%" SCNbjid, &jobid) == 1 ) {
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:341:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(command);
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:27:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(wrapperfile, R_OK | X_OK) == 0)
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:187:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	file = popen("condor_submit condor.submit", "r");
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:345:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE *file = popen(command, "r");
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:165: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(buf, cwd);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:110:17:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE *cmd_fp = popen(get_nodes_info_cmd, "r");
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:225:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(kubectl_failed_log, F_OK | X_OK) == -1) {
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:295: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(fd, k8s_config_tmpl, mf_uuid->str, pod_id, pod_id, k8s_image, 
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:300:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(k8s_script_file_name, F_OK | X_OK) == -1) {
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:314:3:  [4] (shell) execlp:
  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.
		execlp("/bin/sh", "sh", k8s_script_file_name, "create", pod_id, job_id_str, 
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:362:3:  [4] (shell) execlp:
  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.
		execlp("/bin/sh", "sh", "-c", cmd, (char *) 0);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:459:11:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	cmd_fp = popen(cmd, "r");
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:571:13:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			cmd_fp = popen(get_log_cmd, "r");
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:627:7:  [4] (shell) execlp:
  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.
						execlp("/bin/sh", "sh", k8s_script_file_name, "exec", curr_pod_id, curr_job_id, 
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:682:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(cmd_rm_tmp_files);
data/cctools-7.1.2/batch_job/src/batch_job_lambda.c:84:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int r = system(cmd);
data/cctools-7.1.2/batch_job/src/batch_job_lambda.c:93:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int r = system(cmd);
data/cctools-7.1.2/batch_job/src/batch_job_lambda.c:138:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int r = system(cmd);
data/cctools-7.1.2/batch_job/src/batch_job_lambda.c:156:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if(system(cmd)==0) {
data/cctools-7.1.2/batch_job/src/batch_job_lambda.c:179:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	int r = system(cmd);
data/cctools-7.1.2/batch_job/src/batch_job_local.c:61:3:  [4] (shell) execlp:
  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.
		execlp("/bin/sh", "sh", "-c", cmd, (char *) 0);
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:125:3:  [4] (shell) execle:
  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.
		execle("/usr/bin/python", "python", exe_py_path, mesos_cwd, 
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:189:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(FILE_TASK_INFO, F_OK) != -1) {
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:257:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	while(access(FILE_TASK_STATE, F_OK) == -1) {}
data/cctools-7.1.2/batch_job/src/batch_job_mpi.c:489:3:  [4] (shell) execlp:
  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.
		execlp("/bin/sh", "sh", "-c", cmd, (char *) 0);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1390:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(cmd)){
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1401:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (system(cmd)) {
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1410:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		int k = system(cmd);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1419:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		system(cmd);
data/cctools-7.1.2/chirp/src/chirp_acl.c:47: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(default_acl, path);
data/cctools-7.1.2/chirp/src/chirp_acl.c:286: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(dirname, temp);
data/cctools-7.1.2/chirp/src/chirp_acl.c:690: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(dirpath,dirname);
data/cctools-7.1.2/chirp/src/chirp_alloc.c:122:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	result = sscanf(buffer, "%" SCNd64 " %" SCNd64, &s->size, &s->inuse);
data/cctools-7.1.2/chirp/src/chirp_alloc.c:230: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(dirname, d);
data/cctools-7.1.2/chirp/src/chirp_alloc.c:483:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(alloc_path, name);
data/cctools-7.1.2/chirp/src/chirp_audit.c:31:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(aclpath, "%s/.__acl", path);
data/cctools-7.1.2/chirp/src/chirp_audit.c:68: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(entry->name, owner);
data/cctools-7.1.2/chirp/src/chirp_audit.c:94:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(subpath, "%s/%s", path, d->name);
data/cctools-7.1.2/chirp/src/chirp_client.c:227:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	fields = sscanf(line, "%" SCNd64, &result);
data/cctools-7.1.2/chirp/src/chirp_client.c:321:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	fields = fscanf(file, "%s %d %s", host, &port, cookie);
data/cctools-7.1.2/chirp/src/chirp_client.c:369: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(c->hostport, hostport);
data/cctools-7.1.2/chirp/src/chirp_client.c:555: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(ticket_subject, name);
data/cctools-7.1.2/chirp/src/chirp_client.c:558:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access(name, R_OK) == -1)
data/cctools-7.1.2/chirp/src/chirp_client.c:626:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(name, R_OK) == -1)
data/cctools-7.1.2/chirp/src/chirp_client.c:828:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			if(sscanf(line, "%s %s", path, acl) == 2) {
data/cctools-7.1.2/chirp/src/chirp_client.c:835:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
			} else if(sscanf(line, "%" SCNd64, &result) == 1 && result == 0) {
data/cctools-7.1.2/chirp/src/chirp_client.c:1613:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
			sscanf(line, "%s %" SCNd64 " %" SCNd64 " %" SCNd64, entry->name, &entry->nfiles, &entry->ndirs, &entry->nbytes);
data/cctools-7.1.2/chirp/src/chirp_client.c:1639:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
			sscanf(line, "%s %" SCNd64 " %" SCNd64, allocpath, total, inuse);
data/cctools-7.1.2/chirp/src/chirp_client.c:1699:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	sscanf(str, "%" PRId64 " %" PRId64 " %" PRId64 " %" PRId64 " %" PRId64 " " "%" PRId64 " %" PRId64 " %" PRId64 " %" PRId64 " %" PRId64 " " "%" PRId64 " %" PRId64 " %" PRId64, &info->cst_dev, &info->cst_ino, &info->cst_mode, &info->cst_nlink,
data/cctools-7.1.2/chirp/src/chirp_distribute.c:308:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(home_dir, "%s/.chirp", getenv("HOME"));
data/cctools-7.1.2/chirp/src/chirp_distribute.c:379:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(outRe, "%s/out.txt", home_dir);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:381:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(clusterFile, "%s/cluster.txt", home_dir);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:395:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		while(fscanf(fp, "%s %s %f", ar1, ar2, &d) != EOF) {
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:97: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(url, absolute);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:201:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf(file->f.lfile, format, va);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:303: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(temp, path);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:653:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(atom, pattern);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:696:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(atom, pattern);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:748:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(current, "/%s", name);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:763:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if(access_flags == F_OK || cfs->access(fullpath, access_flags) == 0) {
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:818:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(fullpath, dir);
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:63:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	INT64_T (*access)    ( const char *path, INT64_T mode );
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:58: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(chirp_hostport, url+strlen("chirp://"));
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:78:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(path, open_files[fd].path);
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:119: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(open_files[fd].path, unresolved);
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:131:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(path, open_files[fd].path);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:111: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(hdfs_host, url+strlen("hdfs://"));
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:158:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(path, open_files[fd].path);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:251: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(dir->path, path);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:386: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(open_files[fd].path, path);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:150: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(basename, basename_##path);\
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:158: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(basename, basename_##path);\
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:181: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(tmp, strstr(url, "//")+2);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:183: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(tmp, url);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:231:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(path, open_files[fd].path);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:277:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(basename, working);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:284:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(component, working);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:308:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(working, new);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:335:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(basename, component);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:392:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(open_files[fd].path, unresolved);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:255:15:  [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.
				CATCHUNIX(snprintf(str, sizeof(str), "%" PRICHIRP_JOBID_T, id));
data/cctools-7.1.2/chirp/src/chirp_fuse.c:59:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		sscanf(path, "/%[^/]%s", host, newpath);
data/cctools-7.1.2/chirp/src/chirp_fuse.c:66: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(newpath, path);
data/cctools-7.1.2/chirp/src/chirp_global.c:91:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	sscanf(path, "/%[^/]%s", mhost, mpath);
data/cctools-7.1.2/chirp/src/chirp_global.c:150:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(name, "%s:%d", hname, port);
data/cctools-7.1.2/chirp/src/chirp_group.c:61:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(line) != 0) {
data/cctools-7.1.2/chirp/src/chirp_job.c:240: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(file, J->u.string.ptr);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:65:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(host_file, "%s", getenv("CHIRP_HOSTS"));
data/cctools-7.1.2/chirp/src/chirp_matrix.c:71:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(host_file, "%s/.chirp/hosts", getenv("HOME"));
data/cctools-7.1.2/chirp/src/chirp_matrix.c:122:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(datapath1, "/%s", username);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:123:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(datapath2, "/%s/matrixdata", username);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:124:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(datapath3, "/%s/matrixdata/%s", username, cookie);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:132:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(&line[strlen(line)], "%s %s/data.%d\n", datahost, datapath3, i);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:141: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(metapath, path);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:386: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(matpathdir, path);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:404: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(matpathdir, fpath);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:263: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(setAlistfile, setApath);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:264: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(setAlistfile, LIST_FILE_NAME);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:270:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(setBlistfile, setBpath);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:271:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(setBlistfile, LIST_FILE_NAME);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:435: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(local_path, path);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:442:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(local_path, path);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:272: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(function->name, function_name);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:495:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(argv[funcindex], X_OK) != 0) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:512: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(setAlistfile, setApath);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:513: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(setAlistfile, LIST_FILE_NAME);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:519: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(setBlistfile, setBpath);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:520: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(setBlistfile, LIST_FILE_NAME);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:576:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(param_fileA, setApath);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:577:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(param_fileA, setAfilename);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:578:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(param_fileB, setBpath);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:579:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(param_fileB, setBfilename);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:631: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(local_path, path);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:638:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(local_path, path);
data/cctools-7.1.2/chirp/src/chirp_multi.c:89: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(v->name, volume);
data/cctools-7.1.2/chirp/src/chirp_multi.c:96: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(v->host, v->name);
data/cctools-7.1.2/chirp/src/chirp_multi.c:100: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(v->root, c);
data/cctools-7.1.2/chirp/src/chirp_multi.c:118: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(v->key, buffer);
data/cctools-7.1.2/chirp/src/chirp_multi.c:149: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(s->name, name);
data/cctools-7.1.2/chirp/src/chirp_multi.c:248:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	fields = sscanf(buffer, "%s %s", info->rhost, info->rpath);
data/cctools-7.1.2/chirp/src/chirp_multi.c:299: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(info.rhost, server->name);
data/cctools-7.1.2/chirp/src/chirp_recursive.c:56:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(new_source_file, "%s/%s", source_file, name);
data/cctools-7.1.2/chirp/src/chirp_recursive.c:57:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(new_target_file, "%s/%s", target_file, name);
data/cctools-7.1.2/chirp/src/chirp_recursive.c:180:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(new_source_file, "%s/%s", source_file, name);
data/cctools-7.1.2/chirp/src/chirp_recursive.c:181:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(new_target_file, "%s/%s", target_file, name);
data/cctools-7.1.2/chirp/src/chirp_reli.c:160:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(file->host,host);
data/cctools-7.1.2/chirp/src/chirp_reli.c:161:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(file->path,path);
data/cctools-7.1.2/chirp/src/chirp_reli.c:624: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(mypath,path);
data/cctools-7.1.2/chirp/src/chirp_server.c:310:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			if(sscanf(msg, "debug %s", flag) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:312:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
			} else if(sscanf(msg, "stats %s %s %" SCNu64 " %" SCNu64 " %" SCNu64, address, subject, &ops, &bytes_read, &bytes_written) == 5) {
data/cctools-7.1.2/chirp/src/chirp_server.c:486:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(subpath, "%s/%s", path, d->name);
data/cctools-7.1.2/chirp/src/chirp_server.c:603:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		if(sscanf(line, "pread %" SCNd64 " %" SCNd64 " %" SCNd64, &fd, &length, &offset) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:613:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "sread %" SCNd64 " %" SCNd64 " %" SCNd64 " %" SCNd64 " %" SCNd64, &fd, &length, &stride_length, &stride_skip, &offset) == 5) {
data/cctools-7.1.2/chirp/src/chirp_server.c:623:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "pwrite %" SCNd64 " %" SCNd64 " %" SCNd64, &fd, &length, &offset) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:650:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "swrite %" SCNd64 " %" SCNd64 " %" SCNd64 " %" SCNd64 " %" SCNd64, &fd, &length, &stride_length, &stride_skip, &offset) == 5) {
data/cctools-7.1.2/chirp/src/chirp_server.c:670:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "whoami %" SCNd64, &length) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:676:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "whoareyou %s %" SCNd64, chararg1, &length) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:684:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "readlink %s %" SCNd64, path, &length) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:695:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "getlongdir %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:718:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "getdir %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:739:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "getacl %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:762:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "getfile %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:815:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "putfile %s %" SCNd64 " %" SCNd64, path, &mode, &length) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:915:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "getstream %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:929:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "putstream %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:954:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "thirdput %s %s %s", path, chararg1, newpath) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:966:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "open %s %s %" SCNd64, path, newpath, &mode) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1046:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "close %" SCNd64, &fd) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1048:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "fchmod %" SCNd64 " %" SCNd64, &fd, &mode) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1050:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "fchown %" SCNd64 " %" SCNd64 " %" SCNd64, &fd, &uid, &gid) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1052:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "fsync %" SCNd64, &fd) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1054:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "ftruncate %" SCNd64 " %" SCNd64, &fd, &length) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1073:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "fgetxattr %" SCNd64 " %s", &fd, chararg1) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1077:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "flistxattr %" SCNd64, &fd) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1081:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "fsetxattr %" SCNd64 " %s %" SCNd64 " %" SCNd64, &fd, chararg1, &length, &flags) == 4) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1089:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "fremovexattr %" SCNd64 " %s", &fd, chararg1) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1091:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "unlink %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1107:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "access %s %" SCNd64, path, &flags) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1117:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			result = cfs->access(path, flags);
data/cctools-7.1.2/chirp/src/chirp_server.c:1118:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "chmod %s %" SCNd64, path, &mode) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1125:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "chown %s %" SCNd64 " %" SCNd64, path, &uid, &gid) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1130:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "lchown %s %" SCNd64 " %" SCNd64, path, &uid, &gid) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1135:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "truncate %s %" SCNd64, path, &length) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1155:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "rename %s %s", path, newpath) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1175:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "getxattr %s %s", path, chararg1) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1182:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "lgetxattr %s %s", path, chararg1) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1189:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "listxattr %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1196:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "llistxattr %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1203:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "setxattr %s %s %" SCNd64 " %" SCNd64, path, chararg1, &length, &flags) == 4) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1214:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "lsetxattr %s %s %" SCNd64 " %" SCNd64, path, chararg1, &length, &flags) == 4) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1225:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "removexattr %s %s", path, chararg1) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1230:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "lremovexattr %s %s", path, chararg1) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1235:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "link %s %s", path, newpath) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1248:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "symlink %s %s", path, newpath) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1255:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "setacl %s %s %s", path, chararg1, chararg2) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1260:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "resetacl %s %s", path, chararg1) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1265:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "ticket_register %s %s %" SCNd64, chararg1, chararg2, &length) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1271:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(newsubject, esubject);
data/cctools-7.1.2/chirp/src/chirp_server.c:1277:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "ticket_delete %s", chararg1) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1279:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "ticket_modify %s %s %s", chararg1, path, chararg2) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1282:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "ticket_get %s", chararg1) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1302:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "ticket_list %s", chararg1) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1306:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(chararg1, esubject);
data/cctools-7.1.2/chirp/src/chirp_server.c:1322:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "mkdir %s %" SCNd64, path, &mode) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1353:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "rmdir %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1361:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "rmall %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1368:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "utime %s %" SCNd64 " %" SCNd64, path, &actime, &modtime) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1373:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "fstat %" SCNd64, &fd) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1380:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "fstatfs %" SCNd64, &fd) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1387:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "statfs %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1397:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "stat %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1407:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "lstat %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1417:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "lsalloc %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1427:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "mkalloc %s %" SCNd64 " %" SCNd64, path, &length, &mode) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1458:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "localpath %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1467:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "audit %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1490:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "md5 %s", path) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1502:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "hash %s %s", chararg1, path) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1513:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "setrep %s %" SCNd64, path, &length) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1522:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "debug %s", chararg1) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1532:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "search %s %s %" PRId64, chararg1, path, &flags) == 3) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1543:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(fixed, start);
data/cctools-7.1.2/chirp/src/chirp_server.c:1546:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if(cfs->access(fixed, F_OK) == -1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1565:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "job_create %" PRId64, &length) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1583:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "job_commit %" PRId64, &length) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1600:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "job_kill %" PRId64, &length) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1617:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "job_status %" PRId64, &length) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1636:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "job_wait %" SCNCHIRP_JOBID_T " %" SCNd64, &id, &length) == 2) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1644:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "job_reap %" PRId64, &length) == 1) {
data/cctools-7.1.2/chirp/src/chirp_server.c:1747:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(typesubject, "%s:%s", atype, asubject);
data/cctools-7.1.2/chirp/src/chirp_server.c:2045:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(chirp_url, optarg);
data/cctools-7.1.2/chirp/src/chirp_server.c:2066:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(chirp_owner, optarg);
data/cctools-7.1.2/chirp/src/chirp_server.c:2131: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(chirp_transient_path, path);
data/cctools-7.1.2/chirp/src/chirp_server.c:2216: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(hostname, manual_hostname);
data/cctools-7.1.2/chirp/src/chirp_stats.c:45: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(s->addr, addr);
data/cctools-7.1.2/chirp/src/chirp_stream.c:75:12:  [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.
		result = vsnprintf(&s->buffer[s->buffer_valid], avail, fmt, args);
data/cctools-7.1.2/chirp/src/chirp_thirdput.c:63:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(newlpath, "%s/%s", lpath, d->name);
data/cctools-7.1.2/chirp/src/chirp_thirdput.c:64:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(newrpath, "%s/%s", rpath, d->name);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:180:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(ticket_subject, TICKET_SUBJECT_FORMAT, md5_string(digest));
data/cctools-7.1.2/chirp/src/chirp_ticket.c:181:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(ticket_filename, "/" TICKET_FILENAME_FORMAT, md5_string(digest));
data/cctools-7.1.2/chirp/src/chirp_ticket.c:191:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(ticket_filename, "/" TICKET_FILENAME_FORMAT, digest);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:199:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(ticket_subject, TICKET_SUBJECT_FORMAT, digest);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:206:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if((sscanf(ticket_filename, TICKET_FILENAME_SCAN, &n1, buffer, &n2) == 1) && ((n2 - n1) == TICKET_DIGEST_LENGTH) && (strlen(ticket_filename) == (size_t) n2)) {
data/cctools-7.1.2/chirp/src/chirp_ticket.c:219:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	if((sscanf(ticket_subject, TICKET_SUBJECT_SCAN, &n1, buffer, &n2) == 1) && ((n2 - n1) == TICKET_DIGEST_LENGTH) && (strlen(ticket_subject) == (size_t) n2)) {
data/cctools-7.1.2/chirp/src/chirp_tool.c:113: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(current_host, argv[1]);
data/cctools-7.1.2/chirp/src/chirp_tool.c:129: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(temp, file);
data/cctools-7.1.2/chirp/src/chirp_tool.c:140: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(temp, file);
data/cctools-7.1.2/chirp/src/chirp_tool.c:1087:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	sscanf(argv[1], "%" SCNCHIRP_JOBID_T, &id);
data/cctools-7.1.2/chirp/src/chirp_tool.c:1089:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		sscanf(argv[2], "%" SCNd64, &timeout);
data/cctools-7.1.2/chirp/src/chirp_tool.c:1312: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(line, temp);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:73: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(basename, basename_##path);\
data/cctools-7.1.2/chirp/src/confuga_namespace.c:141:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(basename, working);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:148:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(component, working);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:172:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(working, new);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:199:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(basename, component);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:345:12:  [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.
	CATCHUNIX(snprintf(name, sizeof name, "store/file/%"PRIu64, (uint64_t)info.st_ino));
data/cctools-7.1.2/chirp/src/confuga_namespace.c:879:14:  [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.
			CATCHUNIX(snprintf(name, sizeof name, "%"PRIu64, (uint64_t)info.st_ino));
data/cctools-7.1.2/chirp/src/confuga_node.c:321: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.
		CATCHUNIX(snprintf(template, sizeof(template), "%s/file/" CONFUGA_FID_PRIFMT, root, CONFUGA_FID_PRIARGS(empty)));
data/cctools-7.1.2/chirp/src/confuga_replica.c:455: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(file->path, (const char *) sqlite3_column_text(stmt, 3));
data/cctools-7.1.2/chirp/src/confuga_replica.c:554:12:  [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.
	CATCHUNIX(snprintf(replica, sizeof(replica), "%s/file/" CONFUGA_FID_PRIFMT, fcopy.host.root, CONFUGA_FID_PRIARGS(*fid)));
data/cctools-7.1.2/chirp/src/json.c:815:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
         strcpy (error_buf, error);
data/cctools-7.1.2/chirp/src/sqlite3.c:25524:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  { "access",       (sqlite3_syscall_ptr)access,     0  },
data/cctools-7.1.2/chirp/src/sqlite3.c:41357:28:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define sqlite3DebugPrintf printf
data/cctools-7.1.2/chirp/src/sqlite3.c:52679:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define TRACE(X)  if(sqlite3BtreeTrace){printf X;fflush(stdout);}
data/cctools-7.1.2/chirp/src/sqlite3.c:65409: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(pOut, zFormat1, pc, 
data/cctools-7.1.2/chirp/src/sqlite3.c:97080:14:  [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.
    FUNCTION(printf,            -1, 0, 0, printfFunc       ),
data/cctools-7.1.2/chirp/src/sqlite3.c:100890:12:  [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.
  char * (*snprintf)(int,char*,const char*,...);
data/cctools-7.1.2/chirp/src/sqlite3.c:101002:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  char *(*vsnprintf)(int,char*,const char*,va_list);
data/cctools-7.1.2/chirp/src/sqlite3.c:101137:53:  [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 sqlite3_snprintf               sqlite3_api->snprintf
data/cctools-7.1.2/chirp/src/sqlite3.c:101236:53:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define sqlite3_uri_vsnprintf          sqlite3_api->vsnprintf
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:27:63:  [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.
		{size_t i; fprintf(stderr, "\t\t"); for (i = 0; i < n; i++) fprintf(stderr, " %" PRId64, a[i]); fprintf(stderr, "\n");}
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:47:63:  [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.
		{size_t i; fprintf(stderr, "\t\t"); for (i = 0; i < n; i++) fprintf(stderr, " %" PRId64, a[i]); fprintf(stderr, "\n");}
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:55:63:  [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.
		{size_t i; fprintf(stderr, "\t\t"); for (i = 0; i < n; i++) fprintf(stderr, " %" PRId64, a[i]); fprintf(stderr, "\n");}
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:81:60:  [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.
	{size_t i; fprintf(stderr, "\t"); for (i = 0; i < n; i++) fprintf(stderr, " %" PRId64, a[i]); fprintf(stderr, "\n");}
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:101:8:  [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.
#undef fprintf
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:106: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, " %" PRId64, a[i]);
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:110: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, " %" PRId64, a[i]);
data/cctools-7.1.2/deltadb/src/deltadb_stream.c:40:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n = sscanf(line,"C %s %[^\n]",key,value);
data/cctools-7.1.2/deltadb/src/deltadb_stream.c:58:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n = sscanf(line,"D %s\n",key);
data/cctools-7.1.2/deltadb/src/deltadb_stream.c:67:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n = sscanf(line,"M %s %[^\n]",key,value);
data/cctools-7.1.2/deltadb/src/deltadb_stream.c:82:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n=sscanf(line,"U %s %s %[^\n],",key,name,value);
data/cctools-7.1.2/deltadb/src/deltadb_stream.c:98:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n=sscanf(line,"R %s %s",key,name);
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.c:77:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			if(sscanf(line,"U %s %s %[^\n]",key,name,value)==3) {
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.c:90:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(lastkey,key);
data/cctools-7.1.2/dttools/src/address.c:138: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(host,hostport);
data/cctools-7.1.2/dttools/src/address.c:150:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(host,hostport);
data/cctools-7.1.2/dttools/src/auth_ticket.c:64:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if (access(ticket, R_OK) == -1) {
data/cctools-7.1.2/dttools/src/auth_ticket.c:96:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(digest, buffer_tostring(Bhex));
data/cctools-7.1.2/dttools/src/auth_ticket.c:196:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(ticket_digest, line);
data/cctools-7.1.2/dttools/src/auth_ticket.c:197:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(ticket_subject, line);
data/cctools-7.1.2/dttools/src/auth_ticket.c:267:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
						strcpy(*subject, ticket_subject);
data/cctools-7.1.2/dttools/src/auth_unix.c:31: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(challenge_dir, path);
data/cctools-7.1.2/dttools/src/auth_unix.c:36: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(alternate_passwd_file, path);
data/cctools-7.1.2/dttools/src/auth_unix.c:82:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/challenge.%d.%d", challenge_dir, (int) getpid(), rand());
data/cctools-7.1.2/dttools/src/buffer.c:113: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.
	rc = vsnprintf(b->end, avail(b), format, va2);
data/cctools-7.1.2/dttools/src/buffer.c:129: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.
	rc = vsnprintf(b->end, avail(b), format, va2);
data/cctools-7.1.2/dttools/src/buffer.h:118:25:  [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.
__attribute__ (( format(printf,2,3) )) ;
data/cctools-7.1.2/dttools/src/catalog_server.c:226:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(key, "%s:%d:%s%s%.128s",
data/cctools-7.1.2/dttools/src/catalog_server.c:422:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		if(sscanf(line, "%s %s %s", action, url, version) != 3) {
data/cctools-7.1.2/dttools/src/catalog_server.c:454:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	if(sscanf(url, "http://%[^/]%s", hostport, path) == 2) {
data/cctools-7.1.2/dttools/src/catalog_server.c:457:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(path, url);
data/cctools-7.1.2/dttools/src/catalog_server.c:500:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	} else if(sscanf(path, "/detail/%s", key) == 1) {
data/cctools-7.1.2/dttools/src/category_test.c:74:11:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    while(fscanf(input_f, "%s %s %lf %d", id, state, &wall_time, &disk) == 4) {
data/cctools-7.1.2/dttools/src/change_process_title.c:66:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	length = vsnprintf(process_title, process_title_length, fmt, args);
data/cctools-7.1.2/dttools/src/clean_dir.c:33:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(subdir, "%s/%s", dirname, d->d_name);
data/cctools-7.1.2/dttools/src/compat-at.c:60:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	return access(fullpath, amode);
data/cctools-7.1.2/dttools/src/console_login.c:85:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(prompt, "%s login: ", service);
data/cctools-7.1.2/dttools/src/copy_tree.c:36:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(!access(target, F_OK)) {
data/cctools-7.1.2/dttools/src/copy_tree.c:142:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(!access(target, F_OK)) {
data/cctools-7.1.2/dttools/src/copy_tree.c:161:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(!access(t, F_OK)) {
data/cctools-7.1.2/dttools/src/copy_tree.c:222:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(q, F_OK)) {
data/cctools-7.1.2/dttools/src/debug.h:137:25:  [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.
__attribute__ (( format(printf,2,3) ))
data/cctools-7.1.2/dttools/src/disk_alloc.c:51:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if(system(dd_args) != 0) {
data/cctools-7.1.2/dttools/src/disk_alloc.c:79:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(losetup_args) == 0) {
data/cctools-7.1.2/dttools/src/disk_alloc.c:98:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if(system(mk_args) != 0) {
data/cctools-7.1.2/dttools/src/disk_alloc.c:102:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(rm_dir_args) == -1) {
data/cctools-7.1.2/dttools/src/disk_alloc.c:115:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(rm_dir_args) == -1) {
data/cctools-7.1.2/dttools/src/disk_alloc.c:187:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	loop_find = popen(losetup_args, "r");
data/cctools-7.1.2/dttools/src/disk_alloc.c:188:2:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	fscanf(loop_find, "%s %s %s", loop_dev, loop_info, loop_mount);
data/cctools-7.1.2/dttools/src/disk_alloc.c:218:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	result = system(losetup_del_args);
data/cctools-7.1.2/dttools/src/disk_alloc_test.c:22:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(test_loc, "%s%d/", arg_loc, i);
data/cctools-7.1.2/dttools/src/disk_alloc_test.c:56:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(test_loc, "%s%d/", arg_loc, i);
data/cctools-7.1.2/dttools/src/display_size.c:15:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(result, "%llu %s", size/mult, unit_names[j]);
data/cctools-7.1.2/dttools/src/display_size.c:17:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(result, "%.1f %s", (float)size/mult, unit_names[j]);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:60: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(addr, found);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:87: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(name, found);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:147:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(name, "%s.%s", n.nodename, domain);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:151:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(name, "%s", n.nodename);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:154:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(name, n.nodename);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:170: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(name, shortname);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:177: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(shortname, n.nodename);
data/cctools-7.1.2/dttools/src/domain_name_cache.c:183: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(name, shortname);
data/cctools-7.1.2/dttools/src/dpopen.c:66:10:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		return execl("/bin/sh", "sh", "-c", command, (char *) 0);
data/cctools-7.1.2/dttools/src/elfheader.c:164:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
						strcpy(interp, old);
data/cctools-7.1.2/dttools/src/elfheader.c:202:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
						strcpy(interp, old);
data/cctools-7.1.2/dttools/src/elfheader.c:237:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(path, interp);
data/cctools-7.1.2/dttools/src/envtools.c:27:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(exe_name, R_OK | X_OK) == 0) {
data/cctools-7.1.2/dttools/src/envtools.c:39:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(exe_path, R_OK | X_OK) == 0)
data/cctools-7.1.2/dttools/src/fast_popen.c:29: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(cmd, command);
data/cctools-7.1.2/dttools/src/fast_popen.c:66:3:  [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.
		execv(argv[0], argv);
data/cctools-7.1.2/dttools/src/file_cache.c:44:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(lpath, "%s/%02x/%s", c->root, digest[0], md5_string(digest));
data/cctools-7.1.2/dttools/src/file_cache.c:53:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(txn, "%s/txn/%s.%s.%d.XXXXXX", c->root, md5_string(digest), shortname, (int) getpid());
data/cctools-7.1.2/dttools/src/file_cache.c:70:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(dirname, "%s/txn", c->root);
data/cctools-7.1.2/dttools/src/file_cache.c:78:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(txn, "%s/txn/%s", c->root, d->d_name);
data/cctools-7.1.2/dttools/src/file_cache.c:129:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/ff", root);
data/cctools-7.1.2/dttools/src/file_cache.c:135:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/txn", root);
data/cctools-7.1.2/dttools/src/file_cache.c:139:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "%s/%02x", root, i);
data/cctools-7.1.2/dttools/src/file_cache.c:171:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/txn", f->root);
data/cctools-7.1.2/dttools/src/file_cache.c:191:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(path, "%s/txn/%s", f->root, d->d_name);
data/cctools-7.1.2/dttools/src/gpu_info.c:37:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(!access(GPU_AUTODETECT, R_OK|X_OK)){
data/cctools-7.1.2/dttools/src/gpu_info.c:38:4:  [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.
			execv(GPU_AUTODETECT, args);
data/cctools-7.1.2/dttools/src/gpu_info.c:40:4:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			execvp(GPU_AUTODETECT, args);
data/cctools-7.1.2/dttools/src/gpu_info.c:62:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(nvidia_cmd, X_OK) != 0) {
data/cctools-7.1.2/dttools/src/gpu_info.c:66:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE *pipe = popen("/bin/nvidia-smi --query-gpu=gpu_name --format=csv,noheader", "r");
data/cctools-7.1.2/dttools/src/http_query.c:73: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(proxies, getenv("HTTP_PROXY"));
data/cctools-7.1.2/dttools/src/http_query.c:179:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				sscanf(line, "Location: %s", newurl);
data/cctools-7.1.2/dttools/src/http_query.c:180:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
				sscanf(line, "Content-Length: %" SCNd64, size);
data/cctools-7.1.2/dttools/src/jx2json.c:27:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-a", "--args <FILE>", "Evaluate FILE and use it as the context");
data/cctools-7.1.2/dttools/src/jx2json.c:28:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-d", "--define <VAR>=<EXPR>", "Bind EXPR to the variable VAR.");
data/cctools-7.1.2/dttools/src/jx2json.c:29:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-c", "--context <FILE>", "Deprecated.");
data/cctools-7.1.2/dttools/src/jx2json.c:30:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-p", "--pretty", "Print more readable JSON");
data/cctools-7.1.2/dttools/src/jx2json.c:31:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-n", "--noeval", "Don't evaluate, just print parsed JX.");
data/cctools-7.1.2/dttools/src/jx2json.c:32:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-v", "--version", "Show version number");
data/cctools-7.1.2/dttools/src/jx2json.c:33:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-h", "--help", "Help: Show these options");
data/cctools-7.1.2/dttools/src/jx_database.c:151:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename,"%s/%d",db->logdir,db->logyear);
data/cctools-7.1.2/dttools/src/jx_database.c:155:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename,"%s/%d/%d.log",db->logdir,db->logyear,db->logday);
data/cctools-7.1.2/dttools/src/jx_database.c:161:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename,"%s/%d/%d.ckpt",db->logdir,db->logyear,db->logday);
data/cctools-7.1.2/dttools/src/jx_database.c:187:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(db->logfile,fmt,args);
data/cctools-7.1.2/dttools/src/jx_database.c:320:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n = sscanf(line,"C %s %[^\n]",key,value);
data/cctools-7.1.2/dttools/src/jx_database.c:338:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n = sscanf(line,"M %s %[^\n]",key,value);
data/cctools-7.1.2/dttools/src/jx_database.c:351:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n = sscanf(line,"D %s\n",key);
data/cctools-7.1.2/dttools/src/jx_database.c:358:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n=sscanf(line,"U %s %s %[^\n],",key,name,value);
data/cctools-7.1.2/dttools/src/jx_database.c:375:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			n=sscanf(line,"R %s %s",key,name);
data/cctools-7.1.2/dttools/src/jx_database.c:422:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename,"%s/%d/%d.ckpt",db->logdir,year,day);
data/cctools-7.1.2/dttools/src/jx_database.c:425:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename,"%s/%d/%d.log",db->logdir,year,day);
data/cctools-7.1.2/dttools/src/jx_export.c:90: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(stream,j->u.boolean_value?"true":"false");
data/cctools-7.1.2/dttools/src/link.h:191:27:  [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.
  __attribute__ (( format(printf,2,4) )) ;
data/cctools-7.1.2/dttools/src/link_auth.c:68:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(my_response,"%s %s",password,peer_random_key);
data/cctools-7.1.2/dttools/src/link_auth.c:74:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(expected_response,"%s %s",password,my_random_key);
data/cctools-7.1.2/dttools/src/link_auth.c:76: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(expected_response,sha1_string(digest));
data/cctools-7.1.2/dttools/src/md5.c:384:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(p, "%s", md5_string(digest));
data/cctools-7.1.2/dttools/src/mkdir_recursive.c:73: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(parent, path);
data/cctools-7.1.2/dttools/src/multirun.c:62:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		exit(system(cmd));
data/cctools-7.1.2/dttools/src/multirun.c:76:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s.%s", fileprefix, param);
data/cctools-7.1.2/dttools/src/multirun.c:86:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(buffer, format, param);
data/cctools-7.1.2/dttools/src/nvpair.c:79:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(key,"%s:%s:%s",nvpair_lookup_string(n,"address"),nvpair_lookup_string(n,"port"),nvpair_lookup_string(n,"name"));
data/cctools-7.1.2/dttools/src/nvpair.c:89:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		if(sscanf(line, "%s %[^\r\n]", name, value) == 2) {
data/cctools-7.1.2/dttools/src/nvpair.c:91:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(key,value);
data/cctools-7.1.2/dttools/src/nvpair.c:162:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(value, INT64_FORMAT, ivalue);
data/cctools-7.1.2/dttools/src/path.c:136: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(dir, path);
data/cctools-7.1.2/dttools/src/path.c:193:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(fn, dp->d_name);
data/cctools-7.1.2/dttools/src/path.c:408:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(path, X_OK) == 0 && stat(path, &s) == 0 && S_ISREG(s.st_mode) &&
data/cctools-7.1.2/dttools/src/path.c:517:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(q, F_OK)) {
data/cctools-7.1.2/dttools/src/random.c:77: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(str+i, len-i, "%016" PRIx64, r);
data/cctools-7.1.2/dttools/src/rmonitor.c:38:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if(S_ISREG(buf.st_mode) && access(monitor_path, R_OK|X_OK) == 0)
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:183:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(fproc_path, "/proc/%d/%s", pid, filename);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:187:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(fproc_path, "/proc/%s", filename);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:225:4:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
			sscanf(proc_attr_line, "%*s %" SCNu64, value);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:265:8:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	while(fscanf(fstat, "%" PRIu64, &child) == 1) {
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:295:6:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	n = fscanf(fstat,
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:341:6:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	n = fscanf(fstat,
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:445:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		n = sscanf(map_info_line, "%llx-%llx %*s %llx %*s %*s %s", (long long unsigned int *) &(info->map_start), (long long unsigned int *)  &(info->map_end), (long long unsigned int *) &offset, map_name_found);
data/cctools-7.1.2/dttools/src/s3_file_io.c:111:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf( stderr, fmt, args );
data/cctools-7.1.2/dttools/src/sh_popen.c:68:7:  [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.
		i = execvp(argv[0], argv);
data/cctools-7.1.2/dttools/src/sh_popen.c:115:9:  [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.
		res = execvp(argv[0], argv);
data/cctools-7.1.2/dttools/src/shell.c:42:12:  [4] (shell) execlp:
  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.
	CATCHUNIX(execlp("/bin/sh", "sh", "-c", cmd, NULL));
data/cctools-7.1.2/dttools/src/string_array.c:42: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, str);
data/cctools-7.1.2/dttools/src/stringtools.c:168:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(new_pattern, pattern);
data/cctools-7.1.2/dttools/src/stringtools.c:218: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(buffer, str);
data/cctools-7.1.2/dttools/src/stringtools.c:426: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(s, old);
data/cctools-7.1.2/dttools/src/stringtools.c:538: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(newvalue, value);
data/cctools-7.1.2/dttools/src/stringtools.c:539: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(newvalue, subvalue);
data/cctools-7.1.2/dttools/src/stringtools.c:540: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(newvalue, rdelim);
data/cctools-7.1.2/dttools/src/stringtools.c:644: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(r, b);
data/cctools-7.1.2/dttools/src/stringtools.c:836:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		retval = sprintf(str, "%s0%d", Month[T->tm_mon], T->tm_mday);
data/cctools-7.1.2/dttools/src/stringtools.c:838:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		retval = sprintf(str, "%s%d", Month[T->tm_mon], T->tm_mday);
data/cctools-7.1.2/dttools/src/stringtools.c:850:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	int n = vsnprintf(NULL, 0, fmt, args);
data/cctools-7.1.2/dttools/src/stringtools.c:858:6:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	n = vsnprintf(str, n + 1, fmt, args);
data/cctools-7.1.2/dttools/src/stringtools.c:870:13:  [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.
	size_t n = vsnprintf(str, max, fmt, va);
data/cctools-7.1.2/dttools/src/stringtools.c:949: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(result,wrapper_command);
data/cctools-7.1.2/dttools/src/stringtools.c:951: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(result,new_command);
data/cctools-7.1.2/dttools/src/stringtools.c:952: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(result,braces+2);
data/cctools-7.1.2/dttools/src/stringtools.c:954: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(result,wrapper_command);
data/cctools-7.1.2/dttools/src/stringtools.c:956: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(result,new_command);
data/cctools-7.1.2/dttools/src/stringtools.c:957: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(result,square+2);
data/cctools-7.1.2/dttools/src/stringtools.c:959: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(result,wrapper_command);
data/cctools-7.1.2/dttools/src/stringtools.c:961: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(result,new_command);
data/cctools-7.1.2/dttools/src/stringtools.h:106:25:  [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.
__attribute__ (( format(printf,1,2) ));
data/cctools-7.1.2/dttools/src/username.c:26: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(name, p->pw_name);
data/cctools-7.1.2/dttools/src/username.c:39: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(dir, p->pw_dir);
data/cctools-7.1.2/dttools/src/watchdog.c:113:3:  [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.
		execv(program_argv[0], program_argv);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:60:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	length = sprintf(buf,"%s\r\n",line);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:90:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buffer,fmt,args);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:505:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"RETR %s",path);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:528:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buffer,"STOR %s",path);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:530:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buffer,"ESTO A %lld %s",(long long)offset,path);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:533:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buffer,"STOR %s",path);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:549:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"NLST %s",dir);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:896: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(outbuffer,buffer);
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.c:96:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		fields = sscanf(line,"%s %s %s",command,arg1,arg2);
data/cctools-7.1.2/ftp_lite/src/login.c:81:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(prompt,"%s login: ",service);
data/cctools-7.1.2/ftp_lite/src/network.c:90: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(address.sun_path,path);
data/cctools-7.1.2/ftp_lite/src/network.c:151: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(address.sun_path,path);
data/cctools-7.1.2/ftp_lite/src/network.c:384: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(name,h->h_name);
data/cctools-7.1.2/ftp_lite/src/network.c:462: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(name,my_name);
data/cctools-7.1.2/ftp_lite/src/network.c:469: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(str,my_addr_string);
data/cctools-7.1.2/grow/src/grow.c:56:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		int fields = sscanf(line,"%c %[^\t]\t%o %*d %" PRIu64 " %*d %*d %ld %*d %s %[^\n]",
data/cctools-7.1.2/grow/src/grow.c:67:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		fields = sscanf(line,"%c %[^\t]\t%u %" PRIu64 " %ld %s %[^\n]",
data/cctools-7.1.2/makeflow/src/dag_node.c:234: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(newname_ptr, filename);
data/cctools-7.1.2/makeflow/src/dag_node.c:254:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(newname_ptr, "%06d-%s", i, newname_org);
data/cctools-7.1.2/makeflow/src/dag_variable.c:29: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(v->value, value);
data/cctools-7.1.2/makeflow/src/dag_variable.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(v->value + v->len + 1, value);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:426:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(dax_filename, "%s.dax", name);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:434:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(dax_filename, "%s.rc", name);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:439:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(dax_filename, "%s.tc", name);
data/cctools-7.1.2/makeflow/src/lexer.c:225:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(message_filled, message, ap);
data/cctools-7.1.2/makeflow/src/lexer.c:278: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(lx->buffer, s);
data/cctools-7.1.2/makeflow/src/makeflow.c:2145:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		int rv = access("./Makeflow", R_OK);
data/cctools-7.1.2/makeflow/src/makeflow_analyze.c:102:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(file_destination, "%s/%s", bundle_dir, dir);
data/cctools-7.1.2/makeflow/src/makeflow_analyze.c:111:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(file_destination, "%s/%s", bundle_dir, new_name);
data/cctools-7.1.2/makeflow/src/makeflow_analyze.c:308:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		int rv = access("./Makeflow", R_OK);
data/cctools-7.1.2/makeflow/src/makeflow_gc.c:205:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		system(command);
data/cctools-7.1.2/makeflow/src/makeflow_gc.c:343:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(target, F_OK)) {
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:118:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(file, "file %s\n", name);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:120:25:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	FILE *unix_file_pipe = popen(file, "r");
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:191:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(starch_output_path, "%s/%s", workspace, path_basename(dep->original_name));
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:197: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.
				execvp("starch", args);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:200: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.
				execvp("makeflow_linker_perl_driver", args);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:203: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.
				execvp("makeflow_linker_python_driver", args);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:212: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.
				execvp(MAKEFLOW_PATH, args);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:362:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(tmp_dest_path, "%s/__init__.py", dep->output_path);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:364:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(tmp_dest_path, "%s/__main__.py", dep->output_path);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:368:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tmp_from_path, "%s/%s", workspace, dep->final_name);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:372:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tmp_from_path, "%s/%s", workspace, path_basename(dep->original_name));
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:377:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tmp_dest_path, "%s/%s", dep->output_path, dep->final_name);
data/cctools-7.1.2/makeflow/src/makeflow_log.c:346:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			if(sscanf(line, "# FILE %" SCNu64 " %s %d %" SCNu64 "", &previous_completion_time, file, &file_state, &size) == 4) {
data/cctools-7.1.2/makeflow/src/makeflow_log.c:355:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			} else if(sscanf(line, "# CACHE %" SCNu64 " %s", &previous_completion_time, cache_dir) == 2) {
data/cctools-7.1.2/makeflow/src/makeflow_log.c:370:14:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			} else if(sscanf(line, "# MOUNT %" SCNu64 " %s %s %s %d", &previous_completion_time, file, source, cache_name, &type) == 5) {
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:128:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		FILE *fp = popen("grep aws_access_key_id ~/.aws/credentials | cut -d ""="" -f 2 | tr -d ' '","r");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:139:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		FILE *ft = popen("grep aws_secret_access_key ~/.aws/credentials | cut -d ""="" -f 2 | tr -d ' '","r");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:437:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(tarDir) != 0){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:722:4:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			system(dirEmpty);
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:808:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(taskTarFile,R_OK) != 0){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:834:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(extractTar) == -1){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:857:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if(access(filePath,R_OK) != 0){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:881:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				system(makeDir);
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:883:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				if(system(extractDirTar) != 0){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:887:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					system(removeFooDir);
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:891:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				system(removeTar);
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:894:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				system(renameFile);
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:970:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if(system(tarConvert) == -1){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:998:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if(system(removeTar) == -1){
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:164:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(source, F_OK)) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:296:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(cache_path, F_OK)) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:327:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(dirpath, F_OK) && !create_dir(dirpath, 0755)) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:335:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(!access(target, F_OK)) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:387:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(mountfile, F_OK)) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:416:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		if(sscanf(line, "%s %s", target, source) != 2) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:492:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(cache, F_OK)) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:591:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(cache_path, F_OK)) { /* cache_path does not exist */
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:593:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(!access(target, F_OK)) {
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:600:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(!access(target, F_OK)) { /* the target already exists */
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:59:22:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    FILE* ipstream = popen("hostname -i", "r");
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:240:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        k = system(sys_str);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:251:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            system(sys_str);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:292:21:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                    execvp(argv[0], argv);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:483:31:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            FILE* submitret = popen(tmp, "r");
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:518:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            system(tmp);
data/cctools-7.1.2/makeflow/src/makeflow_summary.c:21:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf(file, format, args);
data/cctools-7.1.2/makeflow/src/makeflow_summary.c:26:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf(email, format, args);
data/cctools-7.1.2/makeflow/src/makeflow_summary.c:42:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		summary_email = popen("sendmail -t", "w");
data/cctools-7.1.2/makeflow/src/makeflow_viz.c:282:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		int rv = access("./Makeflow", R_OK);
data/cctools-7.1.2/parrot/src/ibox_acl.c:30:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "%s/%s", filename, IBOX_ACL_BASE_NAME);
data/cctools-7.1.2/parrot/src/ibox_acl.c:98: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(dirname,path);
data/cctools-7.1.2/parrot/src/ibox_acl.c:288:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(oldpath, "%s/..", path);
data/cctools-7.1.2/parrot/src/ibox_acl.c:289:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(newpath, "%s/%s", path, IBOX_ACL_BASE_NAME);
data/cctools-7.1.2/parrot/src/irods_reli.cc:136:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(passwd_file.c_str(),R_OK)!=0) {
data/cctools-7.1.2/parrot/src/irods_reli.cc:164:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(plugin_path.c_str(),R_OK)!=0) {
data/cctools-7.1.2/parrot/src/irods_reli.cc:295: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(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:454: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(request.collName,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:485: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(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:520: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(request.collName,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:548: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(request.srcDataObjInp.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:549: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(request.destDataObjInp.objPath,newpath);
data/cctools-7.1.2/parrot/src/irods_reli.cc:569: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(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:588: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(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:613: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(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:669: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(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:698: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(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:707:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(request.objPath,path);
data/cctools-7.1.2/parrot/src/irods_reli.cc:780: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(request.objPath,file->path);
data/cctools-7.1.2/parrot/src/parrot_cp.c:183:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(newsource,"%s/%s",source,d->d_name);
data/cctools-7.1.2/parrot/src/parrot_cp.c:184:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(newtarget,"%s/%s",target,d->d_name);
data/cctools-7.1.2/parrot/src/parrot_cp.c:293:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newtarget,"%s%s",target,basename);
data/cctools-7.1.2/parrot/src/parrot_cp.c:295:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newtarget,"%s/%s",target,argv[i]);
data/cctools-7.1.2/parrot/src/parrot_cp.c:298:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(newtarget,target);
data/cctools-7.1.2/parrot/src/parrot_namespace.c:32:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-M", "--mount /foo=/bar", "Mount (redirect) /foo to /bar", " (PARROT_MOUNT_STRING)");
data/cctools-7.1.2/parrot/src/parrot_namespace.c:33:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-m", "--ftab-file <file>", "Use <file> as a mountlist", " (PARROT_MOUNT_FILE)");
data/cctools-7.1.2/parrot/src/parrot_namespace.c:34:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "", "--parrot-path <path>", "Path to parrot_run", " (PARROT_PATH)");
data/cctools-7.1.2/parrot/src/parrot_namespace.c:35:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-v", "--version", "Show version number", "");
data/cctools-7.1.2/parrot/src/parrot_namespace.c:36:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(optfmt, "-h", "--help", "Help: Show these options", "");
data/cctools-7.1.2/parrot/src/parrot_namespace.c:96:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if (execvp(parrot_path, argv) < 0) {
data/cctools-7.1.2/parrot/src/parrot_namespace.c:108:6:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (execvp(argv[optind], &argv[optind]) < 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:95:6:  [4] (shell) execlp:
  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(execlp("sort", "sort", "-u", NULL) == -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:121: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(newpath, oldpath);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:145:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(path, F_OK) == 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:153:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if((access(old_path, F_OK) == 0) && (lstat(old_path, &st)) == 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:173:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	if(strcpy(pathcopy, path) == NULL)
data/cctools-7.1.2/parrot/src/parrot_package_create.c:215:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(envlist, F_OK) == -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:225:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(namelist, F_OK) == -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:252:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(p, F_OK) != -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:259:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(packagepath, F_OK) != -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:265:4:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			system(mkdir_cmd);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:267:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(packagepath, F_OK) != 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:283: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(pathcopy, path);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:306: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(p, path);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:329:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(new_path, packagepath);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:330:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(new_path, filename);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:331:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(new_path, F_OK) == 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:362:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	if(strcpy(dir_name, path) == NULL) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:372:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(full_entrypath, dir_name);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:373:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(full_entrypath, entry->d_name);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:426:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(new_path, packagepath);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:427:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(new_path, path);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:431:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(new_path, F_OK) == 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:461:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if(access(new_path, F_OK) == 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:477:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(tmppath, path);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:478:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(dir_name, dirname(tmppath));
data/cctools-7.1.2/parrot/src/parrot_package_create.c:482:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if(access(new_path, F_OK) == 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:572: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(pathcopy, path);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:573: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(dir_name, dirname(pathcopy));
data/cctools-7.1.2/parrot/src/parrot_package_create.c:575:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(linked_path, buf);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:577:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(linked_path, dir_name);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:580:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(linked_path, buf);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:594:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(new_dir, packagepath);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:595:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(new_dir, dir_name);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:596:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if(access(new_dir, F_OK) == -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:605:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(buf, newbuf);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:608:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(!access(new_path, F_OK)) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:659:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(tmp_path, F_OK) == -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:699:11:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	cmd_fp = popen(size_cmd, "r");
data/cctools-7.1.2/parrot/src/parrot_package_create.c:810:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(path, line);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:815:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(path, line);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:829:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		system(sort_cmd);
data/cctools-7.1.2/parrot/src/pfs_dircache.cc:77:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/%s", dircache_path, path_basename(name));
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:989:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(p->new_logical_name, interp_exe);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3682:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if (access(ldso_resolved_path, R_OK|X_OK) == 0) {
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3701: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(filename, physical_name);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:811:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(p->new_logical_name, interp_exe);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2806:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(u.nodename,pfs_false_uname);
data/cctools-7.1.2/parrot/src/pfs_location.cc:36: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(name,srcname);
data/cctools-7.1.2/parrot/src/pfs_main.cc:230:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(helper_path,R_OK)==0 || strstr(helper_path, "/$LIB/")) {
data/cctools-7.1.2/parrot/src/pfs_main.cc:338:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf( "\ncvmfs compilation flags: " CCTOOLS_CVMFS_BUILD_FLAGS);
data/cctools-7.1.2/parrot/src/pfs_main.cc:954:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
			if(access(optarg, F_OK) != -1) {
data/cctools-7.1.2/parrot/src/pfs_main.cc:970:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				system(cmd);
data/cctools-7.1.2/parrot/src/pfs_main.cc:1205:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(envlist, F_OK) == 0)
data/cctools-7.1.2/parrot/src/pfs_main.cc:1336:4:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			execvp("sh", (char *const *)nargv);
data/cctools-7.1.2/parrot/src/pfs_main.cc:1341:4:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			execvp(argv[optind],&argv[optind]);
data/cctools-7.1.2/parrot/src/pfs_mountfile.c:79:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		fields = sscanf(line,"%s %s %s",prefix,redirect,options);
data/cctools-7.1.2/parrot/src/pfs_process.cc:169:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(path, filename);
data/cctools-7.1.2/parrot/src/pfs_process.cc:276: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(child->name,parent->name);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:97: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(ns->prefix, prefix);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:98: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(ns->redirect, real_redirect);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:160:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(cmd,"%s %s",redirect,&logical_name[strlen(prefix)]);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:164:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	file = popen(cmd,"r");
data/cctools-7.1.2/parrot/src/pfs_resolve.c:236:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(physical_name,logical_name);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:244:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(physical_name,&logical_name[plen]);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:250:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(physical_name,remote_prefix);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:253:7:  [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(physical_name,&logical_name[plen]);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:260:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(physical_name,redirect);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:265:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(physical_name,&logical_name[plen]);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:292:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(temp,path+7);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:293:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(path,temp);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:295:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			if(sscanf(path,"%[^:/]:%s",prefix,rest)==2) {
data/cctools-7.1.2/parrot/src/pfs_resolve.c:302:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(path,temp);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:327:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(lookup_key, "%o|%p|%s", mode, ns, logical_name);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:333: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(physical_name,t);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:362:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(physical_name,logical_name);
data/cctools-7.1.2/parrot/src/pfs_service.cc:84:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
int pfs_service::access( pfs_name *name, mode_t mode )
data/cctools-7.1.2/parrot/src/pfs_service.cc:230: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(newpath,name->path);
data/cctools-7.1.2/parrot/src/pfs_service.h:36:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode );
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:153:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(query, queryfmt, args);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:689:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newname, "/%s/%s:%d%s", name->service_name, name->host, name->port, name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:699:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:79:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path,"%s/%s",chirp_dircache_path,name);
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:199: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(buf,entry);
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:374:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:469:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newname,"/%s/%s:%d%s",name->service_name,name->host,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:557:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(lockfile,"%s/cvmfs/%s/lock.%s",pfs_temp_dir,f->host.c_str(),f->host.c_str());
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1195:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(xpath->logical_name, xpath->path);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1252:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(path->rest,path->logical_name);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1508:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access(pfs_name * name, mode_t mode) {
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1531:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(name,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1535:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(name,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1539:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(name,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1543:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(name,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1547:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(name,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1551:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(name,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1555:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(oldname,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1559:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(newname,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1563:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return access(newname,W_OK);
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:98:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(url,"dcap://%s:%d/%s",name->host,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:118:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(url,"dcap://%s:%d/%s",name->host,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:132:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(url,"dcap://%s:%d/%s",name->host,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:443:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access(pfs_name *name, mode_t mode) {
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:88:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(email,"%s@%s",username,hostname);
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:231:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:243:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(newname,"/%s/%s:%d%s",name->service_name,name->host,name->port,tname);
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:246:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(newname,name->path);
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:38:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path,"lfn:/%s%s",name->host,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:40:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path,"guid:%s",name->host);
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:42:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path,"%s",name->path+6);
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:46:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path,"%s://%s/%s",
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:184:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:230:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(newname,name->path);
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:52:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmp,"/%s/%s",name->host,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:219:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmp,"/%s/%s",name->host,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:225:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path,"lfn://%s",tmp2);
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:231:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmp,"/%s/%s",name->host,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:534:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(newpath,name->path);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:183:8:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		if (!fscanf(file, "%s", checksum)) {
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:190:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(url, "http://%s%s/.growfschecksum", hostport, path);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:196:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				if (sscanf(line,"%s", checksum)) {
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:216:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(url, "http://%s%s/.growfsdir", hostport, path);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:279:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(f->hostport,hostport);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:280: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(f->path,path);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:354:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(path,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:627:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_hdfs.cc:366:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_hdfs.cc:391:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newname, "/%s/%s:%d%s", name->service_name, name->host, name->port, name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_http.cc:44:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(url,"http://%s:%d%s",name->host,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:135:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:173:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newname,"/%s/%s:%d%s",name->service_name,name->host,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_lfc.cc:221:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, int mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:304: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(n,name.rest);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:420:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:425:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		result = ::access(name->rest,mode);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:763: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(name.path,path);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:767: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(name.rest,path);
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:105: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(buf,entry);
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:167:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:200:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newname,"/%s/%s:%d%s",name->service_name,name->hostport,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:225:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(tmp,buf);
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:226:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buf,"/%s/%s%s",name->service_name,name->hostport,tmp);
data/cctools-7.1.2/parrot/src/pfs_service_nest.cc:348:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				sprintf(newname,fmt,name->service_name,name->host,thedir);
data/cctools-7.1.2/parrot/src/pfs_service_nest.cc:404:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:139:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "/castor/%s/%s", name->host, name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:142:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(path,"%s:%s",name->host,name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:212:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:283:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				result = this->access(name,X_OK);
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:285:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy(newpath,name->path);
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:174:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s:%s", bucket, name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:313:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s:%s", bucket, name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:341:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_xrootd.cc:58:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(file_buf, "root://%s:%i/%s", name->host, port_number, name->rest);
data/cctools-7.1.2/parrot/src/pfs_service_xrootd.cc:192:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	virtual int access( pfs_name *name, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_xrootd.cc:212:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(newpath,"/%s/%s:%d%s",name->service_name,name->host,name->port,name->rest);
data/cctools-7.1.2/parrot/src/pfs_sys.cc:302:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	result = pfs_current->table->access(path,mode);
data/cctools-7.1.2/parrot/src/pfs_table.cc:103: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(working_dir,pfs_initial_working_directory);
data/cctools-7.1.2/parrot/src/pfs_table.cc:149: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(table->working_dir,this->working_dir);
data/cctools-7.1.2/parrot/src/pfs_table.cc:213: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(lpath, pname.rest);
data/cctools-7.1.2/parrot/src/pfs_table.cc:357: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(full_path,short_path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:359: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(full_path,parent_dir?parent_dir:working_dir);
data/cctools-7.1.2/parrot/src/pfs_table.cc:361:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(full_path,short_path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:378:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(full_path,path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:381:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(full_path,"%s/%s",working_dir,path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:385:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(full_path,path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:391:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(full_path,working_dir);
data/cctools-7.1.2/parrot/src/pfs_table.cc:528:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pname->rest,pname->path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:531:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pname->rest, tmp);
data/cctools-7.1.2/parrot/src/pfs_table.cc:566:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(tmp,pname->rest);
data/cctools-7.1.2/parrot/src/pfs_table.cc:580:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pname->logical_name, pname->path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:581:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pname->rest, pname->path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:590:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pname->logical_name, pname->path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:591:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pname->rest, pname->path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:833: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(name,pointers[fd]->file->get_name()->path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1276: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(cwd, working_dir);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1282:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(path, cwd);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1286:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
int pfs_table::access( const char *n, mode_t mode )
data/cctools-7.1.2/parrot/src/pfs_table.cc:1292:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		result = pname.service->access(&pname,mode);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1770:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(a,pname.path);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1858:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(atom, pattern);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1901:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(atom, pattern);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1956:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(current, "/%s", name);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1964:35:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if(access_flags == F_OK || t->access(fullpath, access_flags) == 0) {
data/cctools-7.1.2/parrot/src/pfs_table.cc:2099:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(path, start);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2114:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(directory, pattern);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2124:39:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				if (access_flags == F_OK || this->access(directory, access_flags) == 0) {
data/cctools-7.1.2/parrot/src/pfs_table.h:82:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int	access( const char *name, mode_t mode );
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:633:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(strlen(path) < 1 || access(path, F_OK) != 0)
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1027: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(log_series,  "%" PRId64, tr->wall_time + summary->start);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1028: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(log_series, " %" PRId64, tr->cpu_time);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1029: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(log_series, " %" PRId64, tr->cores);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1030: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(log_series, " %" PRId64, tr->max_concurrent_processes);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1031: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(log_series, " %" PRId64, tr->virtual_memory);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1032: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(log_series, " %" PRId64, tr->memory);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1033: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(log_series, " %" PRId64, tr->swap_memory);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1034: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(log_series, " %" PRId64, tr->bytes_read);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1035: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(log_series, " %" PRId64, tr->bytes_written);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1036: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(log_series, " %" PRId64, tr->bytes_received);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1037: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(log_series, " %" PRId64, tr->bytes_sent);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1038: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(log_series, " %" PRId64, tr->bandwidth);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1047:4:  [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(log_series, " %" PRId64, tr->total_files);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1048:4:  [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(log_series, " %" PRId64, tr->disk);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1218:4:  [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(log_inotify, " %6" PRId64 " %6" PRId64,
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1680:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access(lib_helper_name, R_OK | X_OK) == 0)
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2014:9:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execvp(executable, argv);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2480:9:  [4] (shell) execlp:
  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.
        execlp("/bin/sh", "sh", "-c", command_line, (char *) NULL);
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:553:4:  [4] (shell) execlp:
  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.
			execlp(gnuplot_path, "gnuplot", path_of_thumbnail_script(h, 1), NULL);
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:568:4:  [4] (shell) execlp:
  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.
			execlp(gnuplot_path, "gnuplot", path_of_image_script(h, 1), NULL);
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1367:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt, eng_format(rmsummary_to_base_unit(h->field, histogram_mode(h->histogram))));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1371:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt, eng_format(rmsummary_to_base_unit(h->field, h->mean)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1375:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt,  h->mean > 0 ? eng_format((h->mean + sqrt(h->variance))/h->mean) : "-1");
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1379:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt_stats, h->fa_max.throughput/h->fa_max.throughput, ((100.0*h->fa_max.waste)/(h->fa_max.waste + h->usage)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1381:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt_alloc, eng_format(rmsummary_to_base_unit(h->field, h->fa_max.first)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1385:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt_stats, h->fa_max_throughput.throughput/h->fa_max.throughput, ((100.0*h->fa_max_throughput.waste)/(h->fa_max_throughput.waste + h->usage)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1387:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt_alloc, eng_format(rmsummary_to_base_unit(h->field, h->fa_max_throughput.first)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1391:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt_stats, h->fa_min_waste_time_dependence.throughput/h->fa_max.throughput, ((100.0*h->fa_min_waste_time_dependence.waste)/(h->fa_min_waste_time_dependence.waste + h->usage)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1393:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stream, fmt_alloc, eng_format(rmsummary_to_base_unit(h->field, h->fa_min_waste_time_dependence.first)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1398: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(stream, fmt_stats, h->fa_max_throughput_brute_force.throughput/h->fa_max.throughput, ((100.0*h->fa_max_throughput_brute_force.waste)/(h->fa_max_throughput_brute_force.waste + h->usage)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1400: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(stream, fmt_alloc, eng_format(rmsummary_to_base_unit(h->field, h->fa_max_throughput_brute_force.first)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1404: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(stream, fmt_stats, h->fa_min_waste_brute_force.throughput/h->fa_max.throughput, ((100.0*h->fa_min_waste_brute_force.waste)/(h->fa_min_waste_brute_force.waste + h->usage)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1406: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(stream, fmt_alloc, eng_format(rmsummary_to_base_unit(h->field, h->fa_min_waste_brute_force.first)));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.c:69:2:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	sscanf(base, RULE_PREFIX "%6c" RULE_SUFFIX, name);
data/cctools-7.1.2/resource_monitor/src/rminimonitor_helper.c:30:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define debug if(CCTOOLS_HELPER_DEBUG_MESSAGES) fprintf
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:45:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define debug if(CCTOOLS_HELPER_DEBUG_MESSAGES) fprintf
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:154: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(start_tmp, 256, "%" PRId64, timestamp_get());
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:208: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(msg.data.s, newpath);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:237: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(msg.data.s, newpath);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:314: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(msg.data.s, path);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:361: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(msg.data.s, path);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:93:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(helper_path, R_OK|X_OK) == 0)
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:100:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(default_path, R_OK|X_OK) == 0)
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:107:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(helper_path, R_OK|X_OK) == 0)
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:239:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(helper_absolute,R_OK|X_OK)==0) {
data/cctools-7.1.2/work_queue/src/work_queue.c:523:25:  [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.
__attribute__ (( format(printf,3,4) ))
data/cctools-7.1.2/work_queue/src/work_queue.c:580:10:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	int n = sscanf(line,"info %s %[^\n]", field, value);
data/cctools-7.1.2/work_queue/src/work_queue.c:1015:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(w->addrport, "%s:%d", addr, port);
data/cctools-7.1.2/work_queue/src/work_queue.c:1712:10:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	int n = sscanf(line,"workqueue %d %s %s %s %s",&worker_protocol,items[0],items[1],items[2],items[3]);
data/cctools-7.1.2/work_queue/src/work_queue.c:1768:10:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	int n = sscanf(line,"update %"PRId64" %s %"PRId64" %"PRId64,&taskid,path,&offset,&length);
data/cctools-7.1.2/work_queue/src/work_queue.c:1840:10:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	int n = sscanf(line, "result %s %s %s %s %" SCNd64"", items[0], items[1], items[2], items[3], &taskid);
data/cctools-7.1.2/work_queue/src/work_queue.c:2362:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(addrport,"%s:%d",address,port);
data/cctools-7.1.2/work_queue/src/work_queue.c:2463:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(addrport,"%s:%d",address,port);
data/cctools-7.1.2/work_queue/src/work_queue.c:2646:10:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	int n = sscanf(line, "resource %s %"PRId64" %"PRId64" %"PRId64, resource_name, &r.total, &r.smallest, &r.largest);
data/cctools-7.1.2/work_queue/src/work_queue.c:2690:10:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	int n = sscanf(line, "feature %s", feature);
data/cctools-7.1.2/work_queue/src/work_queue.c:2991:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(expanded_name, w->arch);
data/cctools-7.1.2/work_queue/src/work_queue.c:2992:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(expanded_name, token + 4);
data/cctools-7.1.2/work_queue/src/work_queue.c:2996:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(expanded_name, token);
data/cctools-7.1.2/work_queue/src/work_queue.c:3004:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(expanded_name, w->os);
data/cctools-7.1.2/work_queue/src/work_queue.c:3006:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(expanded_name, token + 2);
data/cctools-7.1.2/work_queue/src/work_queue.c:3009:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(expanded_name, token);
data/cctools-7.1.2/work_queue/src/work_queue.c:3016:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(expanded_name, token);
data/cctools-7.1.2/work_queue/src/work_queue.c:5169:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(hostport, "%s:%d", hostname, port);
data/cctools-7.1.2/work_queue/src/work_queue.c:5318:27:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
		const char *user_name = getlogin();
data/cctools-7.1.2/work_queue/src/work_queue.c:6579: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(q->logfile,
data/cctools-7.1.2/work_queue/src/work_queue.c:6620:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(q->transactions_logfile, "%" PRIu64, timestamp_get());
data/cctools-7.1.2/work_queue/src/work_queue_catalog.c:61:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(hostport, "%s:%d", catalog_host, catalog_port);
data/cctools-7.1.2/work_queue/src/work_queue_example.c:45:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if(access(gzip_path, X_OK | R_OK) != 0) {
data/cctools-7.1.2/work_queue/src/work_queue_example.c:47:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if(access(gzip_path, X_OK | R_OK) != 0) {
data/cctools-7.1.2/work_queue/src/work_queue_example.c:68:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(infile, "%s", argv[i]);
data/cctools-7.1.2/work_queue/src/work_queue_example.c:69:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(outfile, "%s.gz", argv[i]);
data/cctools-7.1.2/work_queue/src/work_queue_example.c:73:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(command, "./gzip < %s > %s", infile, outfile);
data/cctools-7.1.2/work_queue/src/work_queue_priority_test.c:49:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(outfile, "test/priority/%s", argv[i]);
data/cctools-7.1.2/work_queue/src/work_queue_priority_test.c:54:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(command, "./sleep 1 && date +'%%s' > %s", outfile);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:277:4:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			execl("/bin/sh", "sh", "-c", p->task->command_line, (char *) 0);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:321:5:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				execl("/usr/bin/docker", "/usr/bin/docker", "run", "--rm", "-v", mnt_flg_val, "-w", DEFAULT_WORK_DIR, "-u", uid_str, "-m", "1g", img_name, run_cmd, (char *) 0);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:344:5:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				execl("/usr/bin/docker", "/usr/bin/docker", "exec", container_name, run_sh_fn, (char *) 0);
data/cctools-7.1.2/work_queue/src/work_queue_status.c:361:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(full_address, port_str);
data/cctools-7.1.2/work_queue/src/work_queue_test.c:36:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(gen_input_cmd, "dd if=/dev/zero of=%s bs=1048576 count=%d",input_file,input_size);
data/cctools-7.1.2/work_queue/src/work_queue_test.c:37:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(gen_input_cmd);
data/cctools-7.1.2/work_queue/src/work_queue_test.c:100:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "submit %d %d %d %d %s",&input_size, &run_time, &output_size, &count, category) >= 4) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:220:25:  [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.
__attribute__ (( format(printf,2,3) ))
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:916:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "category %s",category)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:925:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line,"infile %s %s %d", filename, taskname_encoded, &flags)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:929:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line,"outfile %s %s %d", filename, taskname_encoded, &flags)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:933:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "dir %s", filename)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:935:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line,"cores %" PRId64,&n)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:937:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line,"memory %" PRId64,&n)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:939:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line,"disk %" PRId64,&n)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:941:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line,"gpus %" PRId64,&n)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:943:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line,"wall_time %" PRIu64,&nt)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:945:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line,"end_time %" PRIu64,&nt)) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1053:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if (system(command) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1142:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(cmd) != 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1149:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(cmd) != 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1199:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(cmd) != 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1206:6:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(system(cmd) != 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1430:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		if(sscanf(line,"task %" SCNd64, &taskid)==1) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1451:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "url %s %" SCNd64 " %o", filename, &length, &mode) == 3) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1454:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "unlink %s", filename) == 1) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1461:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "get %s %d", filename, &mode) == 2) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1463:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "thirdget %o %s %[^\n]", &mode, filename, path) == 3) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1465:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "thirdput %o %s %[^\n]", &mode, filename, path) == 3) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1468:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		} else if(sscanf(line, "kill %" SCNd64, &taskid) == 1) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1475:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		} else if(sscanf(line, "invalidate-file %s", filename) == 1) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1804:61:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	} else if((workdir_tmp = getenv("_CONDOR_SCRATCH_DIR")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1806:48:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	} else if((workdir_tmp = getenv("TMPDIR")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1808:46:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	} else if((workdir_tmp = getenv("TEMP")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1810:45:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	} else if((workdir_tmp = getenv("TMP")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1850:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		int exit_status = system(fname);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2703:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		system(load_cmd);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2710:4:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			system(load_cmd);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2718:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		system(start_container_cmd);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2810:4:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			system(stop_container_cmd);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2812:4:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			system(rm_container_cmd);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:532:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt(argc, argv, "N:k:o:ASs:p:MR:L:I:T:B:h")) != (char) -1) {
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:68:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *path = getenv("PWD");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:399:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			cluster_name = getenv("BATCH_QUEUE_CLUSTER_NAME");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:400:25:  [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.
			cluster_submit_cmd = getenv("BATCH_QUEUE_CLUSTER_SUBMIT_COMMAND");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:401:25:  [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.
			cluster_remove_cmd = getenv("BATCH_QUEUE_CLUSTER_REMOVE_COMMAND");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:402:22:  [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.
			cluster_options = getenv("BATCH_QUEUE_CLUSTER_SUBMIT_OPTIONS");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:403:26:  [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.
			cluster_jobname_var = getenv("BATCH_QUEUE_CLUSTER_SUBMIT_JOBNAME_VAR");
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:29:25:  [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.
	batch_job_id_t jobid = random();
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:528:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *column_str = getenv("COLUMNS");
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1120:25:  [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.
	batch_submit_options = getenv("BATCH_OPTIONS");
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1128:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "B:C:F:N:M:T:t:w:W:E:P:S:cd:o:O:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1298: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.
		if(!realpath(config_file, abs_path_name)) {
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1348: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.
		if(!realpath(amazon_config, abs_path_name)) {
data/cctools-7.1.2/chirp/src/chirp_benchmark.c:31:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#define do_sync (getenv("CHIRP_SYNC") ? O_SYNC : 0)
data/cctools-7.1.2/chirp/src/chirp_distribute.c:229:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while(((c = getopt_long(argc, argv, "a:d:DF:i:N:p:Rt:T:vXYh", long_options, NULL)) > -1)) {
data/cctools-7.1.2/chirp/src/chirp_distribute.c:287: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.
	} else if(getenv(CHIRP_CLIENT_TICKETS)) {
data/cctools-7.1.2/chirp/src/chirp_distribute.c:288:20:  [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.
		auth_ticket_load(getenv(CHIRP_CLIENT_TICKETS));
data/cctools-7.1.2/chirp/src/chirp_distribute.c:308:33:  [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.
	sprintf(home_dir, "%s/.chirp", getenv("HOME"));
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:545:19:  [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.
			buf->cst_ino = random();
data/cctools-7.1.2/chirp/src/chirp_fuse.c:619:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "a:b:d:Dfhi:m:o:t:v", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/chirp_fuse.c:677: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.
	} else if(getenv(CHIRP_CLIENT_TICKETS)) {
data/cctools-7.1.2/chirp/src/chirp_fuse.c:678:20:  [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.
		auth_ticket_load(getenv(CHIRP_CLIENT_TICKETS));
data/cctools-7.1.2/chirp/src/chirp_get.c:64:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "a:d:i:t:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/chirp_get.c:99: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.
	} else if(getenv(CHIRP_CLIENT_TICKETS)) {
data/cctools-7.1.2/chirp/src/chirp_get.c:100:20:  [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.
		auth_ticket_load(getenv(CHIRP_CLIENT_TICKETS));
data/cctools-7.1.2/chirp/src/chirp_matrix.c:64:5:  [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(getenv("CHIRP_HOSTS")) {
data/cctools-7.1.2/chirp/src/chirp_matrix.c:65:28:  [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.
		sprintf(host_file, "%s", getenv("CHIRP_HOSTS"));
data/cctools-7.1.2/chirp/src/chirp_matrix.c:70:6:  [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(getenv("HOME")) {
data/cctools-7.1.2/chirp/src/chirp_matrix.c:71:42:  [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.
			sprintf(host_file, "%s/.chirp/hosts", getenv("HOME"));
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:117:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt(argc, argv, "a:b:d:ft:vhw:i:e:n:x:y:p:q:r:s:X:Y:c:")) > -1) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:365:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt(argc, argv, "a:b:d:ft:vhw:i:e:n:x:y:p:q:r:s:X:Y:c:")) > -1) {
data/cctools-7.1.2/chirp/src/chirp_put.c:81:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "a:b:d:fi:t:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/chirp_put.c:122: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.
	} else if(getenv(CHIRP_CLIENT_TICKETS)) {
data/cctools-7.1.2/chirp/src/chirp_put.c:123:20:  [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.
		auth_ticket_load(getenv(CHIRP_CLIENT_TICKETS));
data/cctools-7.1.2/chirp/src/chirp_server.c:1972:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "A:a:B:bCc:d:Ee:F:G:hI:i:l:M:n:O:o:P:p:Q:Rr:s:T:t:U:u:vW:w:y:Z:z:", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/chirp_status.c:140:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "aA:c:d:t:o:O:sTlvh", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/chirp_status.c:211:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *column_str = getenv("COLUMNS");
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:74:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "a:b:d:i:t:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:112: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.
	} else if(getenv(CHIRP_CLIENT_TICKETS)) {
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:113:20:  [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.
		auth_ticket_load(getenv(CHIRP_CLIENT_TICKETS));
data/cctools-7.1.2/chirp/src/chirp_tool.c:1235:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "+a:d:hi:lo:t:v", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/chirp_tool.c:1277: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.
	} else if(getenv(CHIRP_CLIENT_TICKETS)) {
data/cctools-7.1.2/chirp/src/chirp_tool.c:1278:20:  [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.
		auth_ticket_load(getenv(CHIRP_CLIENT_TICKETS));
data/cctools-7.1.2/chirp/src/confuga_adm.c:37:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		while((c = getopt_long(argc, argv, "+hp:r:", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/confuga_adm.c:73:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		while((c = getopt_long(argc, argv, "+h", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/confuga_adm.c:138:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "+d:ho:v", long_options, NULL)) > -1) {
data/cctools-7.1.2/chirp/src/sqlite3.c:19979:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
      InitializeCriticalSection(&winMutex_staticMutexes[i].mutex);
data/cctools-7.1.2/chirp/src/sqlite3.c:20070:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&p->mutex);
data/cctools-7.1.2/chirp/src/sqlite3.c:20137:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&p->mutex);
data/cctools-7.1.2/chirp/src/sqlite3.c:28020: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.
    lk = random(); 
data/cctools-7.1.2/chirp/src/sqlite3.c:30592:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if( !azDirs[1] ) azDirs[1] = getenv("SQLITE_TMPDIR");
data/cctools-7.1.2/chirp/src/sqlite3.c:30593:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if( !azDirs[2] ) azDirs[2] = getenv("TMPDIR");
data/cctools-7.1.2/chirp/src/sqlite3.c:31023:22:  [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.
    char *envforce = getenv("SQLITE_FORCE_PROXY_LOCKING");
data/cctools-7.1.2/chirp/src/sqlite3.c:37251:34:  [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( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR");
data/cctools-7.1.2/chirp/src/sqlite3.c:37252:34:  [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( !azDirs[1] ) azDirs[1] = getenv("TMPDIR");
data/cctools-7.1.2/chirp/src/sqlite3.c:37253:34:  [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( !azDirs[2] ) azDirs[2] = getenv("TMP");
data/cctools-7.1.2/chirp/src/sqlite3.c:37254:34:  [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( !azDirs[3] ) azDirs[3] = getenv("TEMP");
data/cctools-7.1.2/chirp/src/sqlite3.c:37255:34:  [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( !azDirs[4] ) azDirs[4] = getenv("USERPROFILE");
data/cctools-7.1.2/chirp/src/sqlite3.c:97098:15:  [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.
    VFUNCTION(random,            0, 0, 0, randomFunc       ),
data/cctools-7.1.2/deltadb/src/deltadb_query.c:577:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c=getopt_long(argc,argv,"D:L:o:w:f:F:T:e:tvh",long_options,0))!=-1) {
data/cctools-7.1.2/dttools/src/address.c:12:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *mode_str = getenv("CCTOOLS_IP_MODE");
data/cctools-7.1.2/dttools/src/auth_test.c:64:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "a:p:r:d:o:O:", long_options, NULL)) > -1) {
data/cctools-7.1.2/dttools/src/catalog_query.c:258:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *protocol = getenv("CATALOG_UPDATE_PROTOCOL");
data/cctools-7.1.2/dttools/src/catalog_query.c:301:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *compress_limit_str = getenv("CATALOG_UPDATE_LIMIT");
data/cctools-7.1.2/dttools/src/catalog_query.h:20:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#define CATALOG_HOST (getenv("CATALOG_HOST") ? getenv("CATALOG_HOST") : CATALOG_HOST_DEFAULT )
data/cctools-7.1.2/dttools/src/catalog_query.h:20:48:  [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.
#define CATALOG_HOST (getenv("CATALOG_HOST") ? getenv("CATALOG_HOST") : CATALOG_HOST_DEFAULT )
data/cctools-7.1.2/dttools/src/catalog_query.h:21:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#define CATALOG_PORT (getenv("CATALOG_PORT") ? atoi(getenv("CATALOG_PORT")) : CATALOG_PORT_DEFAULT )
data/cctools-7.1.2/dttools/src/catalog_query.h:21:53:  [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.
#define CATALOG_PORT (getenv("CATALOG_PORT") ? atoi(getenv("CATALOG_PORT")) : CATALOG_PORT_DEFAULT )
data/cctools-7.1.2/dttools/src/catalog_query_tool.c:59:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "w:c:d:t:o:O:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/dttools/src/catalog_server.c:640:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((ch = getopt_long(argc, argv, "bB:d:hH:I:l:L:m:M:n:o:O:p:ST:u:U:vZ:", long_options, NULL)) > -1) {
data/cctools-7.1.2/dttools/src/catalog_update.c:52:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "c:f:d:o:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/dttools/src/copy_tree.c:251: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.
	s_real = realpath(source, NULL);
data/cctools-7.1.2/dttools/src/copy_tree.c:258:12:  [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.
		t_real = realpath(".", NULL);
data/cctools-7.1.2/dttools/src/copy_tree.c:260:12:  [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.
		t_real = realpath(t, NULL);
data/cctools-7.1.2/dttools/src/debug_file.c:48: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.
			CATCHUNIX(realpath(file_path, tmp) == NULL ? -1 : 0);
data/cctools-7.1.2/dttools/src/disk_allocator.c:37:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "h:v", long_options, NULL)) > -1) {
data/cctools-7.1.2/dttools/src/envtools.c:32:6:  [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(!getenv(env_path_var))
data/cctools-7.1.2/dttools/src/envtools.c:35:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	env_paths = xxstrdup(getenv(env_path_var));
data/cctools-7.1.2/dttools/src/envtools.c:76:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			const char *var = getenv(variable);
data/cctools-7.1.2/dttools/src/getopt.c:97: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.
#ifndef getenv
data/cctools-7.1.2/dttools/src/getopt.c:98:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char *getenv ();
data/cctools-7.1.2/dttools/src/getopt.c:235:28:  [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.
  d->__posixly_correct = !!getenv ("POSIXLY_CORRECT");
data/cctools-7.1.2/dttools/src/getopt.c:1084:1:  [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.
getopt (int argc, char *const *argv, const char *optstring)
data/cctools-7.1.2/dttools/src/getopt.c:1093:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *indexptr)
data/cctools-7.1.2/dttools/src/getopt.c:1121:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/cctools-7.1.2/dttools/src/getopt.h:165:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
data/cctools-7.1.2/dttools/src/getopt.h:168:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt ();
data/cctools-7.1.2/dttools/src/getopt.h:170:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int ___argc, char *const *___argv,
data/cctools-7.1.2/dttools/src/getopt.h:179:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt ();
data/cctools-7.1.2/dttools/src/getopt.h:180:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long ();
data/cctools-7.1.2/dttools/src/hdfs_library.c:41:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((JAVA_HOME = getenv("JAVA_HOME")) == NULL) {
data/cctools-7.1.2/dttools/src/hdfs_library.c:46:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((HADOOP_HOME = getenv("HADOOP_HOME")) == NULL) {
data/cctools-7.1.2/dttools/src/hdfs_library.c:52:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((CLASSPATH = getenv("CLASSPATH"))) {
data/cctools-7.1.2/dttools/src/hdfs_library.c:103:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((HOME = getenv(envhome)) == NULL)
data/cctools-7.1.2/dttools/src/hdfs_library.c:106:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((PATH = getenv(envpath))) {
data/cctools-7.1.2/dttools/src/http_query.c:67:6:  [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(!getenv("HTTP_PROXY")) {
data/cctools-7.1.2/dttools/src/http_query.c:73:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		strcpy(proxies, getenv("HTTP_PROXY"));
data/cctools-7.1.2/dttools/src/http_query.c:159:6:  [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(getenv("HTTP_USER_AGENT"))
data/cctools-7.1.2/dttools/src/http_query.c:160:129:  [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.
			buffer_printf(&B, "User-Agent: Mozilla/5.0 (compatible; CCTools %s Parrot; http://ccl.cse.nd.edu/ %s)\r\n", CCTOOLS_VERSION, getenv("HTTP_USER_AGENT"));
data/cctools-7.1.2/dttools/src/jx2env.c:102:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while((c = getopt_long(argc, argv, "c", long_options, NULL)) >= 0)
data/cctools-7.1.2/dttools/src/jx2json.c:57:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, "vha:d:pn", long_options, NULL)) > -1) {
data/cctools-7.1.2/dttools/src/jx_getopt.c:120:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		return getopt_long(argc, argv, optstring, longopts, longindex);
data/cctools-7.1.2/dttools/src/libforce_halt_enospc.c:41:20:  [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.
		char *filename = getenv("CCTOOLS_DISK_ALLOC");
data/cctools-7.1.2/dttools/src/libforce_halt_enospc.c:71:20:  [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.
		char *filename = getenv("CCTOOLS_DISK_ALLOC");
data/cctools-7.1.2/dttools/src/link.c:88:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *s = getenv("TCP_WINDOW_SIZE");
data/cctools-7.1.2/dttools/src/link.c:390:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char *lowstr = getenv("TCP_LOW_PORT");
data/cctools-7.1.2/dttools/src/link.c:393:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char *highstr = getenv("TCP_HIGH_PORT");
data/cctools-7.1.2/dttools/src/path.c:43:6:  [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 (realpath(src, dest) == NULL) {
data/cctools-7.1.2/dttools/src/path.c:351:6:  [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(!realpath(dir, absolute_dir)) return 0;
data/cctools-7.1.2/dttools/src/path.c:367:6:  [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(realpath(tmp_path, absolute_path)) {
data/cctools-7.1.2/dttools/src/path.c:428:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *path_org = getenv("PATH");
data/cctools-7.1.2/dttools/src/random.c:34:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		srand(seed[0]);
data/cctools-7.1.2/dttools/src/random.c:42:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		srand(seed);
data/cctools-7.1.2/dttools/src/rmonitor.c:67:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	test_path = getenv(RESOURCE_MONITOR_ENV_VAR);
data/cctools-7.1.2/dttools/src/rmsummary.c:963:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((value = getenv( RESOURCES_CORES  )))
data/cctools-7.1.2/dttools/src/rmsummary.c:965:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((value = getenv( RESOURCES_MEMORY )))
data/cctools-7.1.2/dttools/src/rmsummary.c:967:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((value = getenv( RESOURCES_DISK )))
data/cctools-7.1.2/dttools/src/watchdog.c:211:14:  [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(((c = getopt(argc, argv, "+d:o:O:m:M:s:S:vh")) > -1)) {
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:1004:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	principal = getenv("FTP_LITE_PRINCIPAL");
data/cctools-7.1.2/ftp_lite/src/ftp_lite_copy.c:46:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c=getopt(argc,argv,"S:s:T:t:P:p:dh")) > -1) {
data/cctools-7.1.2/grow/src/grow_fuse.c:409:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			char *tmpdir = getenv("TMPDIR");
data/cctools-7.1.2/makeflow/src/dag_variable.c:77:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		initial_value = getenv(name);
data/cctools-7.1.2/makeflow/src/dag_variable.c:100:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		char *value_env = getenv(name);
data/cctools-7.1.2/makeflow/src/dag_variable.c:212:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *value = getenv(name);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:361:3:  [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.
		realpath(f->filename, fn);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:388:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if(path_lookup(getenv("PATH"), fn, pfn, PATH_MAX)){
data/cctools-7.1.2/makeflow/src/dag_visitors.c:389:4:  [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.
			realpath(fn, pfn);
data/cctools-7.1.2/makeflow/src/makeflow.c:1354:6:  [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.
	s = getenv("MAKEFLOW_BATCH_QUEUE_TYPE");
data/cctools-7.1.2/makeflow/src/makeflow.c:1363:6:  [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.
	s = getenv("WORK_QUEUE_MASTER_MODE");
data/cctools-7.1.2/makeflow/src/makeflow.c:1368:6:  [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.
	s = getenv("WORK_QUEUE_NAME");
data/cctools-7.1.2/makeflow/src/makeflow.c:1372:6:  [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.
	s = getenv("WORK_QUEUE_FAST_ABORT_MULTIPLIER");
data/cctools-7.1.2/makeflow/src/makeflow.c:2200:6:  [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.
	s = getenv("MAKEFLOW_MAX_REMOTE_JOBS");
data/cctools-7.1.2/makeflow/src/makeflow.c:2205:6:  [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.
	s = getenv("MAKEFLOW_MAX_LOCAL_JOBS");
data/cctools-7.1.2/makeflow/src/makeflow.c:2290:26:  [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.
		batch_submit_options = getenv("BATCH_OPTIONS");
data/cctools-7.1.2/makeflow/src/makeflow_analyze.c:258:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, option_string_analyze, long_options_analyze, NULL)) >= 0) {
data/cctools-7.1.2/makeflow/src/makeflow_analyze.c:334:3:  [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.
		realpath(bundle_directory, expanded_path);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:146: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(time(NULL));
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:150:2:  [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.
	realpath(input_file, expanded_input);
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:446:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "hno:v", long_options, NULL)) >= 0){
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:484:2:  [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.
	realpath(tmp, output);
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:198:12:  [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.
		s_real = realpath(source, NULL);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:175:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt_long(argc, argv, "m:q:p:c:d:h", long_options, 0)) != -1) {
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:218:25:  [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 (getenv("MPI_WORKER_CORES_PER") != NULL) { //check to see if we're passing this via env-var
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:219:42:  [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.
                        sizes_cor = atoi(getenv("MPI_WORKER_CORES_PER"));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:386:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt_long(argc, argv, "m:q:p:w:W:e:u:n:C:c:T:o:t:O:M:hK", long_options, 0)) != -1) {
data/cctools-7.1.2/makeflow/src/makeflow_status.c:117:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt_long(argc, argv, "N:t:u:w:s:h", long_options, NULL)) > -1) {
data/cctools-7.1.2/makeflow/src/makeflow_viz.c:178:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, option_string_viz, long_options_viz, NULL)) >= 0) {
data/cctools-7.1.2/makeflow/src/parser.c:139:22:  [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.
			char *value_env = getenv(name);
data/cctools-7.1.2/makeflow/src/parser.c:154:22:  [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.
			char *value_env = getenv(name);
data/cctools-7.1.2/parrot/src/irods_reli.cc:128:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if(!getenv("HOME")) {
data/cctools-7.1.2/parrot/src/irods_reli.cc:134:27:  [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.
		std::string passwd_file(getenv("HOME"));
data/cctools-7.1.2/parrot/src/parrot_cp.c:236:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c=getopt_long(argc,argv,"firRsluvh", long_options, NULL)) > -1) {
data/cctools-7.1.2/parrot/src/parrot_mount.c:60:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c=getopt_long(argc,argv,"d:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/parrot/src/parrot_namespace.c:60:6:  [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 (getenv("PARROT_PATH")) parrot_path = getenv("PARROT_PATH");
data/cctools-7.1.2/parrot/src/parrot_namespace.c:60:43:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("PARROT_PATH")) parrot_path = getenv("PARROT_PATH");
data/cctools-7.1.2/parrot/src/parrot_namespace.c:62:6:  [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 (getenv("PARROT_MOUNT_FILE")) list_push_head(mountfiles, getenv("PARROT_MOUNT_FILE"));
data/cctools-7.1.2/parrot/src/parrot_namespace.c:62:62:  [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 (getenv("PARROT_MOUNT_FILE")) list_push_head(mountfiles, getenv("PARROT_MOUNT_FILE"));
data/cctools-7.1.2/parrot/src/parrot_namespace.c:63:6:  [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 (getenv("PARROT_MOUNT_STRING")) list_push_head(mountstrings, getenv("PARROT_MOUNT_STRING"));
data/cctools-7.1.2/parrot/src/parrot_namespace.c:63:66:  [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 (getenv("PARROT_MOUNT_STRING")) list_push_head(mountstrings, getenv("PARROT_MOUNT_STRING"));
data/cctools-7.1.2/parrot/src/parrot_namespace.c:66:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c=getopt_long(argc, argv, "vhM:m:l:", long_options, NULL)) > -1) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:741:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c=getopt_long(argc, argv, "+ha:d:o:e:n:p:", long_options, NULL)) > -1) {
data/cctools-7.1.2/parrot/src/parrot_search.c:33:14:  [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((c = getopt(argc, argv, "+smi")) > -1) {
data/cctools-7.1.2/parrot/src/pfs_main.cc:222: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.
	char *s = getenv("PARROT_HELPER");
data/cctools-7.1.2/parrot/src/pfs_main.cc:708:6:  [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.
	s = getenv("PARROT_BLOCK_SIZE");
data/cctools-7.1.2/parrot/src/pfs_main.cc:711:6:  [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.
	s = getenv("PARROT_MOUNT_FILE");
data/cctools-7.1.2/parrot/src/pfs_main.cc:714:6:  [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.
	s = getenv("PARROT_MOUNT_STRING");
data/cctools-7.1.2/parrot/src/pfs_main.cc:717:6:  [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.
	s = getenv("PARROT_FORCE_STREAM");
data/cctools-7.1.2/parrot/src/pfs_main.cc:720:6:  [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.
	s = getenv("PARROT_FORCE_CACHE");
data/cctools-7.1.2/parrot/src/pfs_main.cc:723:6:  [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.
	s = getenv("PARROT_FOLLOW_SYMLINKS");
data/cctools-7.1.2/parrot/src/pfs_main.cc:726:6:  [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.
	s = getenv("PARROT_SESSION_CACHE");
data/cctools-7.1.2/parrot/src/pfs_main.cc:729:6:  [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.
	s = getenv("PARROT_HOST_NAME");
data/cctools-7.1.2/parrot/src/pfs_main.cc:732:6:  [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.
	s = getenv("PARROT_UID");
data/cctools-7.1.2/parrot/src/pfs_main.cc:735:6:  [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.
	s = getenv("PARROT_GID");
data/cctools-7.1.2/parrot/src/pfs_main.cc:738:6:  [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.
	s = getenv("PARROT_TIMEOUT");
data/cctools-7.1.2/parrot/src/pfs_main.cc:741:6:  [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.
	s = getenv("PARROT_FORCE_SYNC");
data/cctools-7.1.2/parrot/src/pfs_main.cc:744:6:  [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.
	s = getenv("PARROT_LDSO_PATH");
data/cctools-7.1.2/parrot/src/pfs_main.cc:747:6:  [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.
	s = getenv("PARROT_DEBUG_FLAGS");
data/cctools-7.1.2/parrot/src/pfs_main.cc:761:6:  [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.
	s = getenv("PARROT_CHIRP_AUTH");
data/cctools-7.1.2/parrot/src/pfs_main.cc:777:6:  [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.
	s = getenv("PARROT_USER_PASS");
data/cctools-7.1.2/parrot/src/pfs_main.cc:787:6:  [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.
	s = getenv("TMPDIR");
data/cctools-7.1.2/parrot/src/pfs_main.cc:792:6:  [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.
	s = getenv("PARROT_TEMP_DIR");
data/cctools-7.1.2/parrot/src/pfs_main.cc:800:6:  [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.
	s = getenv("PARROT_CVMFS_ALIEN_CACHE");
data/cctools-7.1.2/parrot/src/pfs_main.cc:808:6:  [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.
	s = getenv("PARROT_CVMFS_OPTION_FILE");
data/cctools-7.1.2/parrot/src/pfs_main.cc:881:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c=getopt_long(argc,argv,"+ha:b:B:c:Cd:DFfG:e:Hi:I:kKl:m:n:M:N:o:O:p:PQr:R:sSt:T:U:u:vw:WY", long_options, NULL)) > -1) {
data/cctools-7.1.2/parrot/src/pfs_main.cc:1221:30:  [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(!pfs_cvmfs_http_proxy && getenv("HTTP_PROXY")) {
data/cctools-7.1.2/parrot/src/pfs_main.cc:1222:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		pfs_cvmfs_http_proxy = xxstrdup(getenv("HTTP_PROXY"));
data/cctools-7.1.2/parrot/src/pfs_main.cc:1247: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.
	} else if(getenv(CHIRP_CLIENT_TICKETS)) {
data/cctools-7.1.2/parrot/src/pfs_main.cc:1248:20:  [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.
		auth_ticket_load(getenv(CHIRP_CLIENT_TICKETS));
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:494:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_DBNAME");
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:497:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_USER");
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:500:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_PASS");
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:503:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_CACHE_QUERIES");
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:506:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_CACHE_STAT_QUERY");
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:509:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_CACHE_FTOR_QUERY");
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:512:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_CACHE_RTOL_QUERY");
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:519:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		s = getenv("BXGRID_TIMEOUT");
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:781:26:  [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.
	char *allow_switching = getenv("PARROT_ALLOW_SWITCHING_CVMFS_REPOSITORIES");
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:793:6:  [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(getenv("CERNVM_UUID"))
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:794:33:  [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.
			buffer_putfstring(&B, "-%s", getenv("CERNVM_UUID")); /* can't use space since that is filtered, use '-' */
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:803:26:  [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.
		cvmfs_global_options = getenv("PARROT_CVMFS_CONFIG");
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:881:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		cvmfs_options = getenv("PARROT_CVMFS_REPO");
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:145:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if((endpoint = getenv("PARROT_S3_ENDPOINT"))) {
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2262:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while((c = getopt_long(argc, argv, "c:d:fhi:L:l:o:O:vV:", long_options, NULL)) >= 0)
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2397:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		char *tmp = getenv("USER");
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2477:8:  [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(getenv(RESOURCE_MONITOR_INFO_ENV_VAR))
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1576:14:  [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( (c = getopt(argc, argv, "bd:f:j:hL:no:")) > -1 )
data/cctools-7.1.2/resource_monitor/src/rminimonitor_helper.c:63:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *file_of_pids = getenv(RESOURCE_MONITOR_PIDS_FILE);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:122:5:  [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(getenv(RESOURCE_MONITOR_ROOT_PROCESS)) {
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:129:5:  [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(getenv(RESOURCE_MONITOR_HELPER_STOP_SHORT)) {
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:582:20:  [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.
	char *start_tmp = getenv(RESOURCE_MONITOR_PROCESS_START);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:90:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	helper_path = getenv(RESOURCE_MONITOR_HELPER_ENV_VAR);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:150:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *lowstr = getenv("TCP_LOW_PORT");
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:153:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *highstr = getenv("TCP_HIGH_PORT");
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:194:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	socket_info = getenv(RESOURCE_MONITOR_INFO_ENV_VAR);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:237:2:  [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.
	realpath(helper_path, helper_absolute);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:252:26:  [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.
		char *prev_ldpreload = getenv("LD_PRELOAD");
data/cctools-7.1.2/resource_monitor/test/hogmem.c:39: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.
		size = random() % MAX_SIZE;
data/cctools-7.1.2/work_queue/src/work_queue.c:4901:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		envstring = getenv("WORK_QUEUE_PORT");
data/cctools-7.1.2/work_queue/src/work_queue.c:4908:6:  [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 (getenv("WORK_QUEUE_LOW_PORT"))
data/cctools-7.1.2/work_queue/src/work_queue.c:4909:26:  [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.
		setenv("TCP_LOW_PORT", getenv("WORK_QUEUE_LOW_PORT"), 0);
data/cctools-7.1.2/work_queue/src/work_queue.c:4910:6:  [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 (getenv("WORK_QUEUE_HIGH_PORT"))
data/cctools-7.1.2/work_queue/src/work_queue.c:4911:27:  [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.
		setenv("TCP_HIGH_PORT", getenv("WORK_QUEUE_HIGH_PORT"), 0);
data/cctools-7.1.2/work_queue/src/work_queue.c:4988:20:  [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( (envstring  = getenv("WORK_QUEUE_BANDWIDTH")) ) {
data/cctools-7.1.2/work_queue/src/work_queue_process.c:303:20:  [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((wrk_space = getenv("WORK_QUEUE_SANDBOX")) != NULL) {
data/cctools-7.1.2/work_queue/src/work_queue_status.c:168:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "AM:QTWC:d:lo:O:Rt:vh", long_options, NULL)) > -1) {
data/cctools-7.1.2/work_queue/src/work_queue_status.c:509:22:  [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.
	char *columns_str = getenv("COLUMNS");
data/cctools-7.1.2/work_queue/src/work_queue_test_main.c:37:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt(argc, argv, "d:o:mN:p:Z:vh"))!=-1) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1804:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if((workdir_tmp = getenv("_CONDOR_SCRATCH_DIR")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1806:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if((workdir_tmp = getenv("TMPDIR")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1808:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if((workdir_tmp = getenv("TEMP")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1810:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if((workdir_tmp = getenv("TMP")) && access(workdir_tmp, R_OK|W_OK|X_OK) == 0) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2146: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(time(NULL));
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2170:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	value = getenv(name);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2361:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while((c = getopt_long(argc, argv, "acC:d:f:F:t:o:p:M:N:P:w:i:b:z:A:O:s:vZ:h", long_options, 0)) != -1) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2543:28:  [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.
			char *curr_ld_preload = getenv("LD_PRELOAD");
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:51:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *input_file = fopen(infile, "r");
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:128:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char outfile[256], remote_infile[256], command[256];
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:151:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	infile_fs = fopen(infile, "r");
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:209: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).
	line_value = atoi(line);
data/cctools-7.1.2/apps/wq_sort/wq_sort.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 partition_file[256];
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:244:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	outfile_fp = fopen(outfile, "w");
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:260:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		partition_file_fps[i] = fopen(partition_file, "r");
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:334:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		task_times_fp = fopen("wq_sort.tasktimes", "w");
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:538:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			partitions = atoi(optarg);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:547:18:  [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).
			sample_size = atoi(optarg);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:559:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			estimate_partition = atoi(optarg);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:565:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			keepalive_interval = atoi(optarg);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:568:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			keepalive_timeout = atoi(optarg);
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:571:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			bandwidth_bytes_per_sec = atoi(optarg) * 1000000;
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:582:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sort_executable[256], infile[256];
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:745:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *time_file = fopen("wq_sort.times", "w");
data/cctools-7.1.2/batch_job/src/batch_file.c:118: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 hash[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/batch_job/src/batch_file.c:169: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.
						unsigned char hash[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/batch_job/src/batch_file.c:192: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 hash[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:171:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(config_file, "a");
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:377:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(filename,"w");
data/cctools-7.1.2/batch_job/src/batch_job_amazon.c:771: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.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 c[8];
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:59:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* ran = fopen("/dev/urandom","r");
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:264: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).
	FILE* tmpfile = fopen(tmpfile_string,"w+");
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:265:50:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	fwrite(final_cmd,sizeof(char),strlen(final_cmd),tmpfile);
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:266:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	fclose(tmpfile);
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:485:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
						FILE* tmpOut = fopen(cur_file,"r");
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:505: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(info_out, info, sizeof(struct batch_job_info));
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:527: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.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 wrapperfile[PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:62:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(wrapperfile, "w");
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:155:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[BATCH_JOB_LINE_MAX] = "";
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:195:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			FILE *file = fopen(statusfile, "r");
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char line[BATCH_JOB_LINE_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:254:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tag[21];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:287: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 tag[21];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:314:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char resolved[CHIRP_PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:324:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char resolved[CHIRP_PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:326:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(lpath, "r");
data/cctools-7.1.2/batch_job/src/batch_job_chirp.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 lresolved[CHIRP_PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:339:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char rresolved[CHIRP_PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:365:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char resolved[CHIRP_PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:377:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char resolved[CHIRP_PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_cluster.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 wrapperfile[PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:64:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(wrapperfile, "w");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.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 path[PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_cluster.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 line[BATCH_JOB_LINE_MAX] = "";
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:278:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			FILE *file = fopen(statusfile, "r");
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char line[BATCH_JOB_LINE_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:30:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(wrapperfile, "w");
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:101:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen("condor.submit", "w");
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:191:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[BATCH_JOB_LINE_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:215:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		logfile = fopen(q->logfile, "r");
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:243: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 line[BATCH_JOB_LINE_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:294: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:317: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:351:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[1024];
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:35:13:  [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 ((log = fopen(q->logfile, "a"))) {
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:79: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:106:13:  [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 ((log = fopen(q->logfile, "a"))) {
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:116: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(buf, &dummy, sizeof(dummy));
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:126:13:  [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 ((log = fopen(q->logfile, "a"))) {
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:144:13:  [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 ((log = fopen(q->logfile, "a"))) {
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:173:13:  [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 ((log = fopen(q->logfile, "a"))) {
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:187:13:  [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 ((log = fopen(q->logfile, "a"))) {
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:203:13:  [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 ((log = fopen(q->logfile, "a"))) {
data/cctools-7.1.2/batch_job/src/batch_job_internal.h: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 typestr[128];
data/cctools-7.1.2/batch_job/src/batch_job_internal.h:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char logfile[PATH_MAX];
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:226:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *f = fopen(kubectl_failed_log, "w");
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:262:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *fd = fopen(k8s_config_fn, "w+");
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:302:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			FILE *f = fopen(k8s_script_file_name, "w");
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:386: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:403:28:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *kubectl_failed_fp = fopen(kubectl_failed_log, "r");
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:407:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char failed_job_info[128];
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:413: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).
		job_id_int = atoi(job_id);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:423:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			curr_job_info->exit_code = atoi(exit_code);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:458:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pod_info[128];
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:497:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int curr_job_id_int = atoi(curr_job_id);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:570: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 log_tail_content[64];
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:608:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int curr_job_id_int = atoi(curr_job_id);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:649:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int exit_code_int = atoi(strtok(NULL, ","));
data/cctools-7.1.2/batch_job/src/batch_job_lambda.c:391: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_local.c:95: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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:73: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 exe_path[MAX_BUF_SIZE];
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char exe_dir_path[MAX_BUF_SIZE];
data/cctools-7.1.2/batch_job/src/batch_job_mesos.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 *envs[3];
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:109:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int mesos_fd = open(batch_log_name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:190: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).
		task_info_fp = fopen(FILE_TASK_INFO, "a+");
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:192: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).
		task_info_fp = fopen(FILE_TASK_INFO, "w+");
data/cctools-7.1.2/batch_job/src/batch_job_mesos.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 line[MAX_BUF_SIZE];
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:259: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).
	task_state_fp = fopen(FILE_TASK_STATE, "r");
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:281: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).
			task_id = atoi(task_id_str);
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:299: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).
					if(atoi(task_exit_code) == 444) {
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:303:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					info->exit_code = atoi(task_exit_code);
data/cctools-7.1.2/batch_job/src/batch_job_mesos.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(info_out, info, sizeof(*info));
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:342:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	task_info_fp = fopen(FILE_TASK_INFO, "a+");
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:364:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(MESOS_DONE_FILE, "w");
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:370:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int batch_queue_abort_flag = atoi(batch_queue_get_option(q, "batch-queue-abort-flag"));
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:371:32:  [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).
	int batch_queue_failed_flag = atoi(batch_queue_get_option(q, "batch-queue-failed-flag"));
data/cctools-7.1.2/batch_job/src/batch_job_mpi.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 procname[MPI_MAX_PROCESSOR_NAME];
data/cctools-7.1.2/batch_job/src/batch_job_work_queue.c:156:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			FILE *file = fopen(outfile, "w");
data/cctools-7.1.2/batch_job/src/batch_job_work_queue.c:226:41:  [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).
			work_queue_specify_priority(q->data, atoi(value));
data/cctools-7.1.2/batch_job/src/batch_job_work_queue.c:236:51:  [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).
			work_queue_specify_keepalive_interval(q->data, atoi(value));
data/cctools-7.1.2/batch_job/src/batch_job_work_queue.c:241:50:  [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).
			work_queue_specify_keepalive_timeout(q->data, atoi(value));
data/cctools-7.1.2/batch_job/src/batch_wrapper.c:118:19:  [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).
	int wrapper_fd = mkstemp(name);
data/cctools-7.1.2/batch_job/src/batch_wrapper.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 fresh[16];
data/cctools-7.1.2/batch_job/src/work_queue_factory.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 master_addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:530: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).
		columns = atoi(column_str);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1151:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				worker_timeout = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1154:19:  [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).
				workers_min = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1157:19:  [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).
				workers_max = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1160:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				workers_per_cycle = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1186:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				resources->cores = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1192:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				resources->memory = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1195:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				resources->disk = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1198:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				resources->gpus = atoi(optarg);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1204:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				factory_timeout = MAX(0, atoi(optarg));
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1296: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 abs_path_name[PATH_MAX];
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1321:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		master_port = atoi(argv[optind+1]);
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:1344: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 abs_path_name[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:37: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 default_acl[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.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 tmp[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:113:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char aclsubject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:125: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 ticket_filename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:138: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 where[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:185: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 dir[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:233:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char linkname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.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 temp[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.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 dirname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:309: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 subpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:329:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:345:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_filename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:389:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_filename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:444:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char ticket_subject[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:490:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_subject[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:491:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_filename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:525:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_filename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:563: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 directory[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:586: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 ticket_filename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:602:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char aclname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:603:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newaclname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:604:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char aclsubject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:688:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:693: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 aclpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:723:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char acl[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:724:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:746: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 text[20];
data/cctools-7.1.2/chirp/src/chirp_acl.c:879:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char aclpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:880:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char username[USERNAME_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:907:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oldpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:908:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:909:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char subject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:939:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_acl.c:940:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char aclpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.c:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char statename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.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 buffer[4096]; /* any .__alloc file is smaller than this */
data/cctools-7.1.2/chirp/src/chirp_alloc.c:100: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).
	s->fd = cfs->open(statename, O_RDWR, S_IRUSR|S_IWUSR);
data/cctools-7.1.2/chirp/src/chirp_alloc.c:146:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[4096];
data/cctools-7.1.2/chirp/src/chirp_alloc.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 statepath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.c:162:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = cfs->open(statepath, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR);
data/cctools-7.1.2/chirp/src/chirp_alloc.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 buffer[4096];
data/cctools-7.1.2/chirp/src/chirp_alloc.c:177:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.c:182: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 statename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.c:220:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.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 dirname[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.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 newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.c:431:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_alloc.c:465:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_audit.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 aclpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_audit.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 tmp[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_audit.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 subpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_audit.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char owner[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_audit.c:62:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(owner, "unknown");
data/cctools-7.1.2/chirp/src/chirp_benchmark.c:55: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).
		uf = open(file, flags, mode);
data/cctools-7.1.2/chirp/src/chirp_benchmark.c:192:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[8192];
data/cctools-7.1.2/chirp/src/chirp_benchmark.c:207: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).
	loops = atoi(argv[3]);
data/cctools-7.1.2/chirp/src/chirp_benchmark.c:208: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).
	cycles = atoi(argv[4]);
data/cctools-7.1.2/chirp/src/chirp_benchmark.c:209: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).
	bwloops = atoi(argv[5]);
data/cctools-7.1.2/chirp/src/chirp_client.c:79:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hostport[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.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 line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.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 line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.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 line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:300:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:301:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hostport[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:302:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cookie[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:313:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen("chirp.config", "r");
data/cctools-7.1.2/chirp/src/chirp_client.c:315:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(".chirp.config", "r");
data/cctools-7.1.2/chirp/src/chirp_client.c:317:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(".chirp_config", "r");
data/cctools-7.1.2/chirp/src/chirp_client.c:349:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:350:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[DOMAIN_NAME_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:428:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:432:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:473:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:481: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 name[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:514:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:522: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 acl[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:625:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_subject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:670: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 now[1024];
data/cctools-7.1.2/chirp/src/chirp_client.c:671: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 expiration[1024];
data/cctools-7.1.2/chirp/src/chirp_client.c:680:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			FILE *file = fopen(name, "a");
data/cctools-7.1.2/chirp/src/chirp_client.c:698:61:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_ticket_create(struct chirp_client * c, char name[CHIRP_PATH_MAX], unsigned bits, time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_client.c:767:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_subject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:783:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_subject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:794: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 line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:824: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:825: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 acl[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:873: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 line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:909:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ticket_subject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:910:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:918: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 now[1024];
data/cctools-7.1.2/chirp/src/chirp_client.c:924:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *file = fopen(name, "a");
data/cctools-7.1.2/chirp/src/chirp_client.c:935:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:942:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:949:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char location[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:950:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:960:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fstr[256];
data/cctools-7.1.2/chirp/src/chirp_client.c:962:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:970:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(fstr, "rw");
data/cctools-7.1.2/chirp/src/chirp_client.c:1071:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1093:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1126:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1148:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1276:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1297:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1316:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1329:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1341:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1342:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safenewpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1388:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1398:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1416:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1426:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1433:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safeoldpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1434:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safenewpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1444:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safeoldpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1445:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safenewpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1455:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safeoldpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1456:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safenewpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1485:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1492:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1499:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1506:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1513:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1520:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1527:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1534:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1541:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1546:58:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_hash(struct chirp_client * c, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_client.c:1546:76:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_hash(struct chirp_client * c, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_client.c:1546:102:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_hash(struct chirp_client * c, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_client.c:1551:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1569:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_md5(struct chirp_client * c, const char *path, unsigned char digest[16], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_client.c:1569:78:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_md5(struct chirp_client * c, const char *path, unsigned char digest[16], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_client.c:1576:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1593:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1595:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1623:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1631:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1633:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1654: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 line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1709:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		search->entry.err = atoi(result);
data/cctools-7.1.2/chirp/src/chirp_client.c:1714:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			search->entry.errsource = atoi(result);
data/cctools-7.1.2/chirp/src/chirp_client.c:1754:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1799:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1822:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1862:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1883:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1931:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1956:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.c:1974:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char safepath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_client.h:68:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_ticket_create(struct chirp_client *c, char name[CHIRP_PATH_MAX], unsigned bits, time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_client.h:96:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_hash(struct chirp_client *c, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_client.h:96:75:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_hash(struct chirp_client *c, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_client.h:96:101:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_hash(struct chirp_client *c, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_client.h:97:56:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_md5(struct chirp_client *c, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_client.h:97:77:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_client_md5(struct chirp_client *c, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:122:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(failure_matrix_filename, "w");
data/cctools-7.1.2/chirp/src/chirp_distribute.c:250:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			transfers_needed = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:253: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).
			maxprocs = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:307:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char home_dir[50];
data/cctools-7.1.2/chirp/src/chirp_distribute.c:378:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char outRe[80];
data/cctools-7.1.2/chirp/src/chirp_distribute.c:380:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char clusterFile[80];
data/cctools-7.1.2/chirp/src/chirp_distribute.c:384:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *out = fopen(clusterFile, "w");
data/cctools-7.1.2/chirp/src/chirp_distribute.c:386:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ar1[100];
data/cctools-7.1.2/chirp/src/chirp_distribute.c:387:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ar2[100];
data/cctools-7.1.2/chirp/src/chirp_distribute.c:392:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(outRe, "r");
data/cctools-7.1.2/chirp/src/chirp_distribute.c:538:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[4000];
data/cctools-7.1.2/chirp/src/chirp_distribute.c:539:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char t_name[40];
data/cctools-7.1.2/chirp/src/chirp_distribute.c:543:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen(outRe, "a");
data/cctools-7.1.2/chirp/src/chirp_distribute.c:551:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(clusterFile, "r");
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:40: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 chirp_url[CHIRP_PATH_MAX] = "local://./";
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:52: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 read[CHIRP_FILESYSTEM_BUFFER];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:75:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void cfs_normalize(char url[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:85: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 absolute[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:90: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 absolute[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:96:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(url, "local://");
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:125:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = cfs->open(path, flags, 0600);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:146: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).
	lfile = fopen(path, mode);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:213:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		buffer_putfstring(&file->f.cfile.B, "%c", (int) (((const char *) ptr)[bytes]));
data/cctools-7.1.2/chirp/src/chirp_filesystem.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(s, file->f.cfile.read, i + 1);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:262: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(current, file->f.cfile.read, i);
data/cctools-7.1.2/chirp/src/chirp_filesystem.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 buf[BUFSIZ];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:460:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T cfs_basic_hash(const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX])
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:460:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T cfs_basic_hash(const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX])
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:460:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T cfs_basic_hash(const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX])
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:491:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = cfs->open(path, O_RDONLY, 0);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:497: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 buffer[65536];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:536: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 subpath[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:646: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 atom[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:686: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 atom[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:724:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int search_directory(const char *subject, const char *const base, char fullpath[CHIRP_PATH_MAX], const char *pattern, int flags, struct link *l, time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:724:56:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int search_directory(const char *subject, const char *const base, char fullpath[CHIRP_PATH_MAX], const char *pattern, int flags, struct link *l, time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:724:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int search_directory(const char *subject, const char *const base, char fullpath[CHIRP_PATH_MAX], const char *pattern, int flags, struct link *l, time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:817:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:27:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	int (*init) ( const char url[CHIRP_PATH_MAX], cctools_uuid_t *uuid );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:30:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	int (*fname) ( int fd, char path[CHIRP_PATH_MAX] );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:32:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	INT64_T (*open)      ( const char *path, INT64_T flags, INT64_T mode );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:69:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	INT64_T (*hash)      ( const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX] );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:69:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	INT64_T (*hash)      ( const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX] );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:69:75:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	INT64_T (*hash)      ( const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX] );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:94:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void cfs_normalize ( char url[CHIRP_PATH_MAX] );
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:117:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T cfs_basic_hash (const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX]);
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:117:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T cfs_basic_hash (const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX]);
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:117:75:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T cfs_basic_hash (const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX]);
data/cctools-7.1.2/chirp/src/chirp_filesystem.h:145:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char   chirp_url[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:22: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 chirp_hostport[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:23: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 chirp_root[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.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 path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:50:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_chirp_init(const char url[CHIRP_PATH_MAX], cctools_uuid_t *uuid)
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:75:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_chirp_fname (int fd, char path[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:82:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_chirp_resolve (const char *path, char resolved[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:82:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_chirp_resolve (const char *path, char resolved[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.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 collapse[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.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 absolute[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:316:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static INT64_T chirp_fs_chirp_hash(const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:316:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 INT64_T chirp_fs_chirp_hash(const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:316:86:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 INT64_T chirp_fs_chirp_hash(const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX]; /* Confuga NS */
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:94:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_confuga_init (const char url[CHIRP_PATH_MAX], cctools_uuid_t *uuid)
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:127:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_confuga_fname (int fd, char path[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:146:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];\
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:253:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(buffer, buffer_tostring(&open_files[fd].f.metadata)+offset, n);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char chirp_owner[USERNAME_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:63:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char hdfs_host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:66:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char hdfs_root[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:94:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_hdfs_init(const char url[CHIRP_PATH_MAX], cctools_uuid_t *uuid)
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:123:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(hdfs_host, "default");
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:126: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).
		hdfs_port = atoi(strchr(hdfs_host, ':')+1);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:155:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_hdfs_fname (int fd, char path[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:162:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_hdfs_resolve (const char *path, char resolved[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:162:53:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_hdfs_resolve (const char *path, char resolved[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:165:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char collapse[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:166:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char absolute[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:230:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:383:33:  [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).
	hdfsFile file = hdfs_services->open(fs, path, flags, 0, hdfs_nreps, 0);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:418:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const char zero[1<<20];
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:667:34:  [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).
		hdfsFile file = hdfs_services->open(fs, path, O_WRONLY | O_CREAT, 0, 0, 0);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:106:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:109: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 nulpath[1] = "";
data/cctools-7.1.2/chirp/src/chirp_fs_local.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 basename[CHIRP_PATH_MAX];\
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:169:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_local_init(const char url[CHIRP_PATH_MAX], cctools_uuid_t *uuid)
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:174:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local.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 root[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:187:21:  [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).
	CATCHUNIX(rootfd = open(root, O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOCTTY));
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:227:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int chirp_fs_local_fname (int fd, char path[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:235:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int chirp_fs_local_resolve (const char *path, int *dirfd, char basename[CHIRP_PATH_MAX], int follow)
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:235:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int chirp_fs_local_resolve (const char *path, int *dirfd, char basename[CHIRP_PATH_MAX], int follow)
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:240:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char working[CHIRP_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:255: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 component[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:269: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(component, working, len);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:298: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 _sym[CHIRP_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:303: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 new[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local.h:14:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int chirp_fs_local_resolve (const char *path, int *dirfd, char basename[CHIRP_PATH_MAX], int follow);
data/cctools-7.1.2/chirp/src/chirp_fs_local.h:14:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int chirp_fs_local_resolve (const char *path, int *dirfd, char basename[CHIRP_PATH_MAX], int follow);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX]; /* task_path */
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:158:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int sandbox_create (char sandbox[PATH_MAX], chirp_jobid_t id)
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:165: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 _basename[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:170: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 guid[10 + 1] = "";
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.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 serv_path_basename[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:206:64:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int interpolate (chirp_jobid_t id, int sandboxfd, const char *task_path, char serv_path[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:206:81:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int interpolate (chirp_jobid_t id, int sandboxfd, const char *task_path, char serv_path[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:221:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				unsigned char digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:240:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char hex[3];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char str[64];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:259: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(mark, str, strlen(str));
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.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 task_path_dir[PATH_MAX] = ""; /* directory containing task_path_resolved */
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:293:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char serv_path_basename[CHIRP_PATH_MAX];;
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:294:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char serv_path_interpolated[CHIRP_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:297: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 _sandbox[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:298: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 _basename[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:517:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	stream = fopen(argv[2], "r");
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:537: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:540: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 digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:563:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	output = fopen(url->path, "w");
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:617: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.
	extern char chirp_hostname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:621:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:692: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 _sandbox[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:693: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 _basename[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:807:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sandbox[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_fuse.c:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:139:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:163:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:179:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:180:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:200:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:222:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dest_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:239:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char frompath[CHIRP_PATH_MAX], topath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:240:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:256:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char frompath[CHIRP_PATH_MAX], topath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:257:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:273:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:274:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:291:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:307:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:308:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:323:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:324:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.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 host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:376:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:377:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:469:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:470:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:510:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:511:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_fuse.c:628:29:  [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).
			chirp_reli_blocksize_set(atoi(optarg));
data/cctools-7.1.2/chirp/src/chirp_global.c:141:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:179: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:180: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:261: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:262: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:284: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:285: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:307: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:308: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:330: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:331: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:353: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:354: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:385: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:386: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:413: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:414: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:430: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:431: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:447: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:448: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:480: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:481: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:503: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:504: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:506: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 mnewhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:507: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 mnewpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:529: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:530: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:544: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:545: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:559: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:560: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:582: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:583: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:597: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:598: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:641: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:642:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char mpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:664: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:665: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:687: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:688: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:705: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:706: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:726: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:749: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:750: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:772: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:773: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:795: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.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 mpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:818: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:819: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:854: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 mhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_global.c:855: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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_group.c:21:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char chirp_transient_path[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_group.c:23: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 chirp_group_base_url[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_group.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 url[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_group.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 cachedir[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_group.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 cachepath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_group.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 line[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_group.c:68:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(cachepath, "r");
data/cctools-7.1.2/chirp/src/chirp_group.h:13:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char chirp_group_base_url[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_job.c:65:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char        chirp_transient_path[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_job.c:205:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char uri[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_job.c:237:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int readpath (char file[CHIRP_PATH_MAX], json_value *J) {
data/cctools-7.1.2/chirp/src/chirp_job.c:329: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 executable[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_job.c:335: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 tag[128] = "(unknown)";
data/cctools-7.1.2/chirp/src/chirp_matrix.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 host_file[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[CHIRP_LINE_MAX * nfiles];
data/cctools-7.1.2/chirp/src/chirp_matrix.c:66:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(host_file, "r");
data/cctools-7.1.2/chirp/src/chirp_matrix.c:72:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			file = fopen(host_file, "r");
data/cctools-7.1.2/chirp/src/chirp_matrix.c:77:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(host_file, "./chirp_hosts");
data/cctools-7.1.2/chirp/src/chirp_matrix.c:78:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(host_file, "r");
data/cctools-7.1.2/chirp/src/chirp_matrix.c:80:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			file = fopen(host_file, "w");
data/cctools-7.1.2/chirp/src/chirp_matrix.c:81: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 hostname[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix.c:85:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			file = fopen(host_file, "r");
data/cctools-7.1.2/chirp/src/chirp_matrix.c:110:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(line, "%d\n%d\n%d\n%d\n%d\n", width, height, element_size, nhosts, nfiles);
data/cctools-7.1.2/chirp/src/chirp_matrix.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 datapath1[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix.c:113:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char datapath2[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix.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 datapath3[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix.c:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char username[USERNAME_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix.c: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 cookie[16];
data/cctools-7.1.2/chirp/src/chirp_matrix.c: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 metapath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix.c:180:18:  [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).
	matrix->width = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:182:19:  [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).
	matrix->height = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:184:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	matrix->element_size = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:186:19:  [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).
	matrix->nhosts = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:188:19:  [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).
	matrix->nfiles = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:371:18:  [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).
	matrix->width = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:373:19:  [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).
	matrix->height = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:375:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	matrix->element_size = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:377:19:  [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).
	matrix->nhosts = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:379:19:  [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).
	matrix->nfiles = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:462: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).
	nfiles = atoi(tmp);
data/cctools-7.1.2/chirp/src/chirp_matrix_benchmark.c:40: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).
	int width = atoi(argv[3]);
data/cctools-7.1.2/chirp/src/chirp_matrix_benchmark.c:41: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).
	int height = atoi(argv[4]);
data/cctools-7.1.2/chirp/src/chirp_matrix_benchmark.c:42: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).
	int nhosts = atoi(argv[5]);
data/cctools-7.1.2/chirp/src/chirp_matrix_benchmark.c:43:18:  [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).
	int randlimit = atoi(argv[6]);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:69:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setApath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.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 setBpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.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 setAfilename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setBfilename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:125:18:  [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).
			buffer_size = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:137: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).
			w = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:140: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).
			h = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:143: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).
			e = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:146: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).
			n = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:157:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			numOfStableElements = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:160:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			numOfMovingElements = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:163: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).
			x1 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:166: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).
			y1 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:169: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).
			x2 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:172: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).
			y2 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:175: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).
			topLeftX = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:178: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).
			topLeftY = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:260:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setAlistfile[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.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 setBlistfile[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:265:13:  [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((setA = fopen(setAlistfile, "r")) == NULL) {
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:272:13:  [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((setB = fopen(setBlistfile, "r")) == NULL) {
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:388:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	roc_data_fp = fopen("roc.dat", "w");
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:54:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fd1 = open(filename1, O_RDONLY)) == -1) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:59:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fd2 = open(filename2, O_RDONLY)) == -1) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:118:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fd1 = open(filename1, O_RDONLY)) == -1) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:123:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fd2 = open(filename2, O_RDONLY)) == -1) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:187:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fd1 = open(filename1, O_RDONLY)) == -1) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:192:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if((fd2 = open(filename2, O_RDONLY)) == -1) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:245:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[MAX_FUNCNAME_LEN];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:324:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setApath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:325:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setBpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:327:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setAfilename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:328:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setBfilename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:329:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char param_fileA[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:330:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char param_fileB[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:373:18:  [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).
			buffer_size = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:385: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).
			w = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:388: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).
			h = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:391: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).
			e = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:394: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).
			n = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:405:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			numOfStableElements = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:408:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			numOfMovingElements = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:411: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).
			x1 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:414: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).
			y1 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:417: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).
			x2 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:420: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).
			y2 = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:423: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).
			topLeftX = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:426: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).
			topLeftY = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:509:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setAlistfile[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:510:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char setBlistfile[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:514:13:  [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((setA = fopen(setAlistfile, "r")) == NULL) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:521:13:  [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((setB = fopen(setBlistfile, "r")) == NULL) {
data/cctools-7.1.2/chirp/src/chirp_multi.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 host[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 path[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 rpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 rhost[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 name[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char root[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 key[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 filename[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:264:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[CHIRP_PATH_MAX * 2 + 2];
data/cctools-7.1.2/chirp/src/chirp_multi.c:288: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 keypath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:298: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 cookie[17];
data/cctools-7.1.2/chirp/src/chirp_multi.c:431:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:445:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:458:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.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 lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:482:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:513:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:514:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newlpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:542:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:543:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newlpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:553:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:563:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:573:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_multi.c:731:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_multi_md5(const char *volume, const char *path, unsigned char digest[16], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_multi.c:731:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_multi_md5(const char *volume, const char *path, unsigned char digest[16], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_multi.c:731:72:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_multi_md5(const char *volume, const char *path, unsigned char digest[16], time_t stoptime)
data/cctools-7.1.2/chirp/src/chirp_multi.h:53:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_multi_md5(const char *volume, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_multi.h:53:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_multi_md5(const char *volume, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_multi.h:53:72:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_multi_md5(const char *volume, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_put.c:30:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define fopen64 fopen
data/cctools-7.1.2/chirp/src/chirp_put.c:31:16:  [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).
#define open64 open
data/cctools-7.1.2/chirp/src/chirp_put.c:142:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(source_file, "r");
data/cctools-7.1.2/chirp/src/chirp_recursive.c:22:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define fopen64 fopen
data/cctools-7.1.2/chirp/src/chirp_recursive.c:23:16:  [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).
#define open64 open
data/cctools-7.1.2/chirp/src/chirp_recursive.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 new_source_file[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_recursive.c:39:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char new_target_file[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_recursive.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 linkdata[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_recursive.c:154:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_source_file[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_recursive.c:155:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_target_file[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_recursive.c:209:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char linkdata[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_recursive.c:261:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[65536];
data/cctools-7.1.2/chirp/src/chirp_reli.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 host[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_reli.c:31:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_reli.c:162:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(&file->info,&buf,sizeof(buf));
data/cctools-7.1.2/chirp/src/chirp_reli.c:262:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(data,&file->buffer[offset-file->buffer_offset],blength);
data/cctools-7.1.2/chirp/src/chirp_reli.c:281:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(data,file->buffer,result);
data/cctools-7.1.2/chirp/src/chirp_reli.c:330: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(&file->buffer[file->buffer_valid],data,blength);
data/cctools-7.1.2/chirp/src/chirp_reli.c:353: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(file->buffer,data,length);
data/cctools-7.1.2/chirp/src/chirp_reli.c:546:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_ticket_create( const char *host, char name[CHIRP_PATH_MAX], unsigned bits, time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:546:53:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_ticket_create( const char *host, char name[CHIRP_PATH_MAX], unsigned bits, time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:623:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char mypath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_reli.c:694:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash( const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:694:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash( const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:694:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash( const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:694:94:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash( const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:699:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_md5( const char *host, const char *path, unsigned char digest[16], time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:699:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_md5( const char *host, const char *path, unsigned char digest[16], time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.c:699:70:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_md5( const char *host, const char *path, unsigned char digest[16], time_t stoptime )
data/cctools-7.1.2/chirp/src/chirp_reli.h:344:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_ticket_create(const char *host, char name[CHIRP_PATH_MAX], unsigned bits, time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:344:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_ticket_create(const char *host, char name[CHIRP_PATH_MAX], unsigned bits, time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:626:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash(const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:626:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash(const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:626:67:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash(const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:626:93:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_hash(const char *host, const char *path, const char *algorithm, unsigned char digest[CHIRP_DIGEST_MAX], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:641:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_md5(const char *host, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:641:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_md5(const char *host, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_reli.h:641:69:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
INT64_T chirp_reli_md5(const char *host, const char *path, unsigned char digest[16], time_t stoptime);
data/cctools-7.1.2/chirp/src/chirp_server.c:82: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         chirp_hostname[DOMAIN_NAME_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:83: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         chirp_owner[USERNAME_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:85:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char         chirp_project_name[128];
data/cctools-7.1.2/chirp/src/chirp_server.c:86: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         chirp_transient_path[PATH_MAX] = "."; /* local file system stuff */
data/cctools-7.1.2/chirp/src/chirp_server.c:89: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        address[LINK_ADDRESS_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:93: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        hostname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:291:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[PIPE_BUF];
data/cctools-7.1.2/chirp/src/chirp_server.c:292:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char flag[PIPE_BUF];
data/cctools-7.1.2/chirp/src/chirp_server.c:293:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char subject[PIPE_BUF];
data/cctools-7.1.2/chirp/src/chirp_server.c:294:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char address[PIPE_BUF];
data/cctools-7.1.2/chirp/src/chirp_server.c:322:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void path_fix(char path[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_server.c:324:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char decoded[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:390:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[65536];
data/cctools-7.1.2/chirp/src/chirp_server.c:392:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = cfs->open(path, O_RDONLY, S_IRWXU);
data/cctools-7.1.2/chirp/src/chirp_server.c:422:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = cfs->open(path, O_CREAT | O_TRUNC | O_WRONLY, S_IRWXU);
data/cctools-7.1.2/chirp/src/chirp_server.c:430:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[65536];
data/cctools-7.1.2/chirp/src/chirp_server.c:481: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 subpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:556: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 line[CHIRP_LINE_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:564: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 path[CHIRP_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:565: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 newpath[CHIRP_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:566: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 chararg1[CHIRP_LINE_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:567: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 chararg2[CHIRP_LINE_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:751:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char aclsubject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:769:22:  [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).
			INT64_T fd = cfs->open(path, O_RDONLY, 0);
data/cctools-7.1.2/chirp/src/chirp_server.c:796:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[65536];
data/cctools-7.1.2/chirp/src/chirp_server.c:835: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).
			fd = cfs->open(path, flags, mode);
data/cctools-7.1.2/chirp/src/chirp_server.c:877:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[65536];
data/cctools-7.1.2/chirp/src/chirp_server.c:1032:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
					result = cfs->open(path, flags, (int) mode);
data/cctools-7.1.2/chirp/src/chirp_server.c:1038:19:  [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).
				result = cfs->open(path, flags, (int) mode);
data/cctools-7.1.2/chirp/src/chirp_server.c:1492: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 digest[CHIRP_DIGEST_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:1503: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 digest[CHIRP_DIGEST_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:1538:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char fixed[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:1691:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static void chirp_receive(struct link *link, char url[CHIRP_PATH_MAX])
data/cctools-7.1.2/chirp/src/chirp_server.c:1694:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char typesubject[AUTH_TYPE_MAX + AUTH_SUBJECT_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:1695:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:1950:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pidfile[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:1959:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char port_file[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_server.c:1976:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:1994:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:2022:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			max_child_procs = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_server.c:2025:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			chirp_port = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_server.c:2070:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:2082:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			auth_unix_timeout_set(atoi(optarg));
data/cctools-7.1.2/chirp/src/chirp_server.c:2090:18:  [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).
			sim_latency = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_server.c:2102: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).
			chirp_job_time_limit = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_server.c:2129: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 path[PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_server.c:2155:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(chirp_owner, "unknown");
data/cctools-7.1.2/chirp/src/chirp_server.c:2177: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).
				safe_uid = safe_gid = atoi(safe_username);
data/cctools-7.1.2/chirp/src/chirp_server.c:2305: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 addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/chirp/src/chirp_stats.c:28:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/chirp/src/chirp_stats.c:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[PIPE_BUF];
data/cctools-7.1.2/chirp/src/chirp_status.c:213: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).
		columns = atoi(column_str);
data/cctools-7.1.2/chirp/src/chirp_stream.c:112: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(&s->buffer[s->buffer_valid], data, length);
data/cctools-7.1.2/chirp/src/chirp_stream.c:200:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(data, &s->buffer[s->buffer_position], actual);
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:82:18:  [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).
			buffer_size = atoi(optarg);
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:147:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	localfile = fopen(argv[srcindex], localmode);
data/cctools-7.1.2/chirp/src/chirp_swig_wrap.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 id[4096] = "";
data/cctools-7.1.2/chirp/src/chirp_swig_wrap.c:61: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 digest[CHIRP_DIGEST_MAX];
data/cctools-7.1.2/chirp/src/chirp_swig_wrap.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 hexdigest[CHIRP_DIGEST_MAX*2+1] = "";
data/cctools-7.1.2/chirp/src/chirp_swig_wrap.c:71:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(&hexdigest[i*2], "%02X", (unsigned int)digest[i]);
data/cctools-7.1.2/chirp/src/chirp_thirdput.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 newlpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_thirdput.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 newrpath[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_thirdput.c:38: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 aclsubject[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_thirdput.c:120:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int fd = cfs->open(lpath, O_RDONLY, 0);
data/cctools-7.1.2/chirp/src/chirp_thirdput.c:124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[65536];
data/cctools-7.1.2/chirp/src/chirp_thirdput.c:168:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hostsubject[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_ticket.c:120: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(ct->subject, s, n);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:127:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(ct->ticket, s, n);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:134: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(stime, s, n);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:145: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(ct->rights[ct->nrights - 1].directory, s, n);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:150: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(acl, s, n);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:175: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 digest[TICKET_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/chirp_ticket.c:205:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[TICKET_DIGEST_LENGTH + 1];
data/cctools-7.1.2/chirp/src/chirp_ticket.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 buffer[TICKET_DIGEST_LENGTH + 1];
data/cctools-7.1.2/chirp/src/chirp_ticket.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 digest[TICKET_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/chirp_tool.c:47:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define fopen64 fopen
data/cctools-7.1.2/chirp/src/chirp_tool.c:48:16:  [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).
#define open64 open
data/cctools-7.1.2/chirp/src/chirp_tool.c:60: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 current_host[CHIRP_PATH_MAX] = { 0 };
data/cctools-7.1.2/chirp/src/chirp_tool.c:62:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char current_local_dir[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:63:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char current_remote_dir[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:64:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char current_subject[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:125:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:136:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:151: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 full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:182:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:206:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char target_full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:207:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char source_full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:213: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.
		argv[2] = (char *) path_basename(argv[1]);
data/cctools-7.1.2/chirp/src/chirp_tool.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 target_full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.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 source_full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:241: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.
		argv[2] = (char *) path_basename(argv[1]);
data/cctools-7.1.2/chirp/src/chirp_tool.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 name[CHIRP_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/chirp_tool.c:405:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:415:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:425:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:440:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:452:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX]; /* the new link */
data/cctools-7.1.2/chirp/src/chirp_tool.c:460: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 target[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:473:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char timestr[1024];
data/cctools-7.1.2/chirp/src/chirp_tool.c:501:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:561:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.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 full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:575:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:595:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:656:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char old_full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:657:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char new_full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:665:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:698:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:711:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:725:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:726: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 digest[CHIRP_DIGEST_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:754:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:757: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).
	int nreps = atoi(argv[2]);
data/cctools-7.1.2/chirp/src/chirp_tool.c:764:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char localpath[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:765:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:817: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).
	timeout = atoi(argv[1]);
data/cctools-7.1.2/chirp/src/chirp_tool.c:844:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:845:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char remote_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:867:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:874:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:875:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char alloc_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:897:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:902:46:  [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).
	m = chirp_matrix_create(current_host, path, atoi(argv[2]), atoi(argv[3]), sizeof(double), atoi(argv[4]), stoptime);
data/cctools-7.1.2/chirp/src/chirp_tool.c:902:61:  [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).
	m = chirp_matrix_create(current_host, path, atoi(argv[2]), atoi(argv[3]), sizeof(double), atoi(argv[4]), stoptime);
data/cctools-7.1.2/chirp/src/chirp_tool.c:902:92:  [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).
	m = chirp_matrix_create(current_host, path, atoi(argv[2]), atoi(argv[3]), sizeof(double), atoi(argv[4]), stoptime);
data/cctools-7.1.2/chirp/src/chirp_tool.c:913:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:936:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:996:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:998:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[65536];
data/cctools-7.1.2/chirp/src/chirp_tool.c:1012:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:1014:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[65536];
data/cctools-7.1.2/chirp/src/chirp_tool.c:1031:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:1214:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char prompt[2*CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_tool.c:1215:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[CHIRP_LINE_MAX];
data/cctools-7.1.2/chirp/src/chirp_types.h: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 path[CHIRP_PATH_MAX];			/**< Path of the matching file. */
data/cctools-7.1.2/chirp/src/chirp_types.h:176:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[CHIRP_PATH_MAX];	/**< The identity of the user. */
data/cctools-7.1.2/chirp/src/confuga.c:112:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *urls = (const char *)sqlite3_value_text(argv[0]);
data/cctools-7.1.2/chirp/src/confuga.c:505:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char uri[PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga.c:558:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char logp[PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga.c:560:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *log = fopen(logp, "a");
data/cctools-7.1.2/chirp/src/confuga.h:35: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 id[20]; /* binary SHA1 digest (hardcoded so we don't need to include the header) */
data/cctools-7.1.2/chirp/src/confuga_adm.c:33: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 password[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_adm.c:34: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 root[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_file.c:24: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 byte[3] = {str[0], str[1], '\0'};
data/cctools-7.1.2/chirp/src/confuga_file.c:45: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(fid->id, id, confugaF_size(*fid));
data/cctools-7.1.2/chirp/src/confuga_fs.h: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     root[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_fs.h:34: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 ticket[20]; /* SHA1 of ticket */
data/cctools-7.1.2/chirp/src/confuga_fs.h: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 hostport[256+8]; /* Maximum length of FQDN is 255 octets per RFC, +8 for port */
data/cctools-7.1.2/chirp/src/confuga_fs.h: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 root[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_gc.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 current[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_gc.c:31:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char next[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_gc.c:48:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(next, "file.1");
data/cctools-7.1.2/chirp/src/confuga_gc.c:50:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(next, "file.0");
data/cctools-7.1.2/chirp/src/confuga_job.c:387: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 serv_subpath[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_job.c:388: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 task_subpath[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_namespace.c:67: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 nulpath[1] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.c:80:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char basename[CONFUGA_PATH_MAX];\
data/cctools-7.1.2/chirp/src/confuga_namespace.c:99:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int resolve (confuga *C, const char *path, int *dirfd, char basename[CONFUGA_PATH_MAX], int follow)
data/cctools-7.1.2/chirp/src/confuga_namespace.c:99:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int resolve (confuga *C, const char *path, int *dirfd, char basename[CONFUGA_PATH_MAX], int follow)
data/cctools-7.1.2/chirp/src/confuga_namespace.c:104:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char working[CONFUGA_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.c:119: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 component[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_namespace.c:133: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(component, working, len);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:162: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 _sym[CONFUGA_PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.c:167: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 new[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_namespace.c:244:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char header[HEADER_LENGTH+1] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.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 byte[3] = {current[0], current[1], '\0'};
data/cctools-7.1.2/chirp/src/confuga_namespace.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 header[HEADER_LENGTH+1] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.c:322:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cname[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.c:323:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[PATH_MAX] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.c:340:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(cname, "store/new/");
data/cctools-7.1.2/chirp/src/confuga_namespace.c:375:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char header[HEADER_LENGTH+1] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.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 header[HEADER_LENGTH+1] = "";
data/cctools-7.1.2/chirp/src/confuga_namespace.c:878: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 name[PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_namespace.c:937:24:  [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).
	CATCHUNIX(C->rootfd = open(root, O_CLOEXEC|O_DIRECTORY|O_NOCTTY|O_RDONLY));
data/cctools-7.1.2/chirp/src/confuga_node.c:116: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 hostport[256+8] = "";
data/cctools-7.1.2/chirp/src/confuga_node.c:232:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char ticket[PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_node.c:233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_node.c:248: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).
		stream = fopen(ticket, "r");
data/cctools-7.1.2/chirp/src/confuga_node.c:307: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 template[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_node.c:309: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 whoami[128];
data/cctools-7.1.2/chirp/src/confuga_node.c:383: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 path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_node.c:384: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 password[20];
data/cctools-7.1.2/chirp/src/confuga_node.c:385: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/confuga_node.c:452: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 path[CHIRP_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_node.c:453: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/confuga_node.c:638: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/confuga_node.c:674: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/chirp/src/confuga_node.c:705:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(node, "r");
data/cctools-7.1.2/chirp/src/confuga_replica.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 path[CHIRP_PATH_MAX]; /* path to the replica on the SN */
data/cctools-7.1.2/chirp/src/confuga_replica.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 path[CONFUGA_PATH_MAX]; /* path to open file */
data/cctools-7.1.2/chirp/src/confuga_replica.c:200:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char replica_open[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_replica.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 replica_closed[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_replica.c:244: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 replica_from[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_replica.c:522:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static const unsigned char zeroes[1<<20];
data/cctools-7.1.2/chirp/src/confuga_replica.c:541:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char replica[CONFUGA_PATH_MAX];
data/cctools-7.1.2/chirp/src/confuga_replica.c:1274:86:  [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).
static int complete (confuga *C, chirp_jobid_t id, const char *hostport, const char *open, const char *file)
data/cctools-7.1.2/chirp/src/confuga_replica.c:1297:35:  [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).
	rc = chirp_reli_rename(hostport, open, file, STOPTIME);
data/cctools-7.1.2/chirp/src/confuga_replica.c:1359:38:  [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).
		CATCHJOB(complete(C, id, hostport, open, file));
data/cctools-7.1.2/chirp/src/json.c:246: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 (&state.settings, settings, sizeof (json_settings));
data/cctools-7.1.2/chirp/src/json.c:288:19:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                  sprintf (error, "%d:%d: Trailing garbage: `%c`", cur_line, e_off, b);
data/cctools-7.1.2/chirp/src/json.c:296:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            {  sprintf (error, "Unexpected EOF in string (at %d:%d)", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:319:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf (error, "Invalid character value `%c` (at %d:%d)", b, cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:426:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                  {  sprintf (error, "%d:%d: Unexpected ]", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:441:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                     {  sprintf (error, "%d:%d: Expected , before %c", cur_line, e_off, b);
data/cctools-7.1.2/chirp/src/json.c:453:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                     {  sprintf (error, "%d:%d: Expected : before %c", cur_line, e_off, b);
data/cctools-7.1.2/chirp/src/json.c:567:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        {  sprintf (error, "%d:%d: Unexpected %c when seeking value", cur_line, e_off, b);
data/cctools-7.1.2/chirp/src/json.c:588:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf (error, "%d:%d: Expected , before \"", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:615:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                     sprintf (error, "%d:%d: Unexpected `%c` in object", cur_line, e_off, b);
data/cctools-7.1.2/chirp/src/json.c:633:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        {  sprintf (error, "%d:%d: Unexpected `0` before `%c`", cur_line, e_off, b);
data/cctools-7.1.2/chirp/src/json.c:670:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                  {  sprintf (error, "%d:%d: Expected digit before `.`", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:686:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                     {  sprintf (error, "%d:%d: Expected digit after `.`", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:712:22:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                  {  sprintf (error, "%d:%d: Expected digit after `e`", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:797:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf (error, "%d:%d: Unknown value", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:802:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
   strcpy (error, "Memory allocation failure");
data/cctools-7.1.2/chirp/src/json.c:807:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf (error, "%d:%d: Too long (caught overflow)", cur_line, e_off);
data/cctools-7.1.2/chirp/src/json.c:817:10:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
         strcpy (error_buf, "Unknown error");
data/cctools-7.1.2/chirp/src/sqlite3.c:12097: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 zSelName[12];     /* Symbolic name of this SELECT use for debugging */
data/cctools-7.1.2/chirp/src/sqlite3.c:12281:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef unsigned char yDbMask[(SQLITE_MAX_ATTACHED+9)/8];
data/cctools-7.1.2/chirp/src/sqlite3.c:13689:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256] = {
data/cctools-7.1.2/chirp/src/sqlite3.c:14598: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 zBase[100];   /* Initial space */
data/cctools-7.1.2/chirp/src/sqlite3.c:15624: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, zBuf[30];
data/cctools-7.1.2/chirp/src/sqlite3.c:15890:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:15910:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:15929:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:15966: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 zBuf[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:16154: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 zBuf[20];
data/cctools-7.1.2/chirp/src/sqlite3.c:17156: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 zTitle[100];  /* The title text */
data/cctools-7.1.2/chirp/src/sqlite3.c:17326:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*));
data/cctools-7.1.2/chirp/src/sqlite3.c:17335:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(z, mem.zTitle, mem.nTitle);
data/cctools-7.1.2/chirp/src/sqlite3.c:17402: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(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
data/cctools-7.1.2/chirp/src/sqlite3.c:17508: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(mem.zTitle, zTitle, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:17532:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  out = fopen(zFilename, "w");
data/cctools-7.1.2/chirp/src/sqlite3.c:18120:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nOld);
data/cctools-7.1.2/chirp/src/sqlite3.c:18122:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nBytes);
data/cctools-7.1.2/chirp/src/sqlite3.c:18178:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/cctools-7.1.2/chirp/src/sqlite3.c:18675:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, pPrior, nOld);
data/cctools-7.1.2/chirp/src/sqlite3.c:18797:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/cctools-7.1.2/chirp/src/sqlite3.c:18896: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(pTo, pFrom, offsetof(sqlite3_mutex_methods, xMutexAlloc));
data/cctools-7.1.2/chirp/src/sqlite3.c:18897: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(&pTo->xMutexFree, &pFrom->xMutexFree,
data/cctools-7.1.2/chirp/src/sqlite3.c:20944: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(pNew, p, db->lookaside.sz);
data/cctools-7.1.2/chirp/src/sqlite3.c:20992: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(zNew, z, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:21004: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(zNew, z, (size_t)n);
data/cctools-7.1.2/chirp/src/sqlite3.c:21274: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[etBUFSIZE];       /* Conversion buffer */
data/cctools-7.1.2/chirp/src/sqlite3.c:21842:35:  [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( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar);
data/cctools-7.1.2/chirp/src/sqlite3.c:21873:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->zText[p->nChar], z, N);
data/cctools-7.1.2/chirp/src/sqlite3.c:21892:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->zText[p->nChar-N], z, N);
data/cctools-7.1.2/chirp/src/sqlite3.c:21919: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(p->zText, p->zBase, p->nChar+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:21961: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 zBase[SQLITE_PRINT_BUF_SIZE];
data/cctools-7.1.2/chirp/src/sqlite3.c:22012: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 zBase[SQLITE_PRINT_BUF_SIZE];
data/cctools-7.1.2/chirp/src/sqlite3.c:22095: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 zMsg[SQLITE_PRINT_BUF_SIZE*3];    /* Complete log message */
data/cctools-7.1.2/chirp/src/sqlite3.c:22125: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 zBuf[500];
data/cctools-7.1.2/chirp/src/sqlite3.c:22176: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 zBuf[500];
data/cctools-7.1.2/chirp/src/sqlite3.c:22237: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 s[256];          /* State variables */
data/cctools-7.1.2/chirp/src/sqlite3.c:22290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char k[256];
data/cctools-7.1.2/chirp/src/sqlite3.c:22331:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/cctools-7.1.2/chirp/src/sqlite3.c:22338:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/cctools-7.1.2/chirp/src/sqlite3.c:22829:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:22939:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:23096: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 zBuf[20];
data/cctools-7.1.2/chirp/src/sqlite3.c:23753: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(pOut, &u, 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:23794:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pValue, &u, 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:24497: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(&a, &x, 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:25192: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 aPadding[32];
data/cctools-7.1.2/chirp/src/sqlite3.c:25487: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).
  return open(zFile, flags, mode);
data/cctools-7.1.2/chirp/src/sqlite3.c:26073: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(pNew->zCanonicalName, zAbsoluteName, n+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:26251: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 aSemName[MAX_PATHNAME+2];  /* Name of that semaphore */
data/cctools-7.1.2/chirp/src/sqlite3.c:26291: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 aErr[80];
data/cctools-7.1.2/chirp/src/sqlite3.c:26471: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(&pInode->fileId, &fileId, sizeof(fileId));
data/cctools-7.1.2/chirp/src/sqlite3.c:28376:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/cctools-7.1.2/chirp/src/sqlite3.c:28380:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:28495:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char oldCntr[4];
data/cctools-7.1.2/chirp/src/sqlite3.c:28511:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/cctools-7.1.2/chirp/src/sqlite3.c:28515:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:28693: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 zDirname[MAX_PATHNAME+1];
data/cctools-7.1.2/chirp/src/sqlite3.c:30746:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zDb[MAX_PATHNAME+1];     /* Database file path */
data/cctools-7.1.2/chirp/src/sqlite3.c:30773: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(zDb, zPath, nDb);
data/cctools-7.1.2/chirp/src/sqlite3.c:30851: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 zTmpname[MAX_PATHNAME+2];
data/cctools-7.1.2/chirp/src/sqlite3.c:31029:18:  [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).
      useProxy = atoi(envforce)>0;
data/cctools-7.1.2/chirp/src/sqlite3.c:31295:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zBuf, &t, sizeof(t));
data/cctools-7.1.2/chirp/src/sqlite3.c:31296:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&zBuf[sizeof(t)], &randomnessPid, sizeof(randomnessPid));
data/cctools-7.1.2/chirp/src/sqlite3.c:31637: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[MAXPATHLEN];
data/cctools-7.1.2/chirp/src/sqlite3.c:31814: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 tPath[MAXPATHLEN];
data/cctools-7.1.2/chirp/src/sqlite3.c:31815: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[PROXY_MAXCONCHLEN];
data/cctools-7.1.2/chirp/src/sqlite3.c:31819: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 errmsg[64] = "";
data/cctools-7.1.2/chirp/src/sqlite3.c:31908:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tBuf[PROXY_MAXCONCHLEN];
data/cctools-7.1.2/chirp/src/sqlite3.c:31958:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char readBuf[PROXY_MAXCONCHLEN];
data/cctools-7.1.2/chirp/src/sqlite3.c:31959:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lockPath[MAXPATHLEN];
data/cctools-7.1.2/chirp/src/sqlite3.c:32014:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
data/cctools-7.1.2/chirp/src/sqlite3.c:32060:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char writeBuffer[PROXY_MAXCONCHLEN];
data/cctools-7.1.2/chirp/src/sqlite3.c:32064: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(&writeBuffer[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN);
data/cctools-7.1.2/chirp/src/sqlite3.c:32210: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(conchPath, dbPath, len+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:32226: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(&conchPath[i+1], "-conch", 7);
data/cctools-7.1.2/chirp/src/sqlite3.c:32285: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(dbPath, (char *)pFile->lockingContext, len + 1);
data/cctools-7.1.2/chirp/src/sqlite3.c:32304: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 dbPath[MAXPATHLEN+1];       /* Name of the database file */
data/cctools-7.1.2/chirp/src/sqlite3.c:33769:41:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  { "MultiByteToWideChar",     (SYSCALL)MultiByteToWideChar,     0 },
data/cctools-7.1.2/chirp/src/sqlite3.c:34161: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 zDbgBuf[SQLITE_WIN32_DBG_BUF_SIZE];
data/cctools-7.1.2/chirp/src/sqlite3.c:34168: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(zDbgBuf, zBuf, nMin);
data/cctools-7.1.2/chirp/src/sqlite3.c:34184: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(zDbgBuf, zBuf, nMin);
data/cctools-7.1.2/chirp/src/sqlite3.c:34773: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 zMsg[500];                 /* Human readable error text */
data/cctools-7.1.2/chirp/src/sqlite3.c:35414:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/cctools-7.1.2/chirp/src/sqlite3.c:35419:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:35486:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/cctools-7.1.2/chirp/src/sqlite3.c:35491:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:38233: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(&zBuf[n], &x, sizeof(x));
data/cctools-7.1.2/chirp/src/sqlite3.c:38238: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(&zBuf[n], &pid, sizeof(pid));
data/cctools-7.1.2/chirp/src/sqlite3.c:38244: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(&zBuf[n], &cnt, sizeof(cnt));
data/cctools-7.1.2/chirp/src/sqlite3.c:38250: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(&zBuf[n], &cnt, sizeof(cnt));
data/cctools-7.1.2/chirp/src/sqlite3.c:38257: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(&zBuf[n], &i, sizeof(i));
data/cctools-7.1.2/chirp/src/sqlite3.c:38684:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/cctools-7.1.2/chirp/src/sqlite3.c:38724: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(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/cctools-7.1.2/chirp/src/sqlite3.c:41909: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 dbFileVers[16];        /* Changes whenever database file changes */
data/cctools-7.1.2/chirp/src/sqlite3.c:42217: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 zRet[1024];
data/cctools-7.1.2/chirp/src/sqlite3.c:42296: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 ac[4];
data/cctools-7.1.2/chirp/src/sqlite3.c:42315: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 ac[4];
data/cctools-7.1.2/chirp/src/sqlite3.c:42485: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 aMagic[8];   /* A buffer to hold the magic header */
data/cctools-7.1.2/chirp/src/sqlite3.c:42576:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char zeroHdr[28] = {0};
data/cctools-7.1.2/chirp/src/sqlite3.c:42664: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(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/cctools-7.1.2/chirp/src/sqlite3.c:42741: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 aMagic[8];     /* A buffer to hold the magic header */
data/cctools-7.1.2/chirp/src/sqlite3.c:43575: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(pData, (u8*)aData, pPager->pageSize);
data/cctools-7.1.2/chirp/src/sqlite3.c:45362: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(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/cctools-7.1.2/chirp/src/sqlite3.c:45894: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(pPager->zFilename, zPathname, nPathname);
data/cctools-7.1.2/chirp/src/sqlite3.c:45895:16:  [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( nUri ) memcpy(&pPager->zFilename[nPathname+1], zUri, nUri);
data/cctools-7.1.2/chirp/src/sqlite3.c:45896: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(pPager->zJournal, zPathname, nPathname);
data/cctools-7.1.2/chirp/src/sqlite3.c:45897: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(&pPager->zJournal[nPathname], "-journal\000", 8+2);
data/cctools-7.1.2/chirp/src/sqlite3.c:45901: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(pPager->zWal, zPathname, nPathname);
data/cctools-7.1.2/chirp/src/sqlite3.c:45902: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(&pPager->zWal[nPathname], "-wal\000", 4+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:46390:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dbFileVers[sizeof(pPager->dbFileVers)];
data/cctools-7.1.2/chirp/src/sqlite3.c:47264:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 void *pCopy = (const void *)&((const char *)zBuf)[24];
data/cctools-7.1.2/chirp/src/sqlite3.c:49165: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((void *)&aHdr[1], (void *)&pWal->hdr, sizeof(WalIndexHdr));
data/cctools-7.1.2/chirp/src/sqlite3.c:49167: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((void *)&aHdr[0], (void *)&pWal->hdr, sizeof(WalIndexHdr));
data/cctools-7.1.2/chirp/src/sqlite3.c:49195: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(&aFrame[8], pWal->hdr.aSalt, 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:49273:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zName[15];
data/cctools-7.1.2/chirp/src/sqlite3.c:49641: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(&pWal->hdr.aSalt, &aBuf[16], 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:49941: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(aLeft, aTmp, sizeof(aTmp[0])*iOut);
data/cctools-7.1.2/chirp/src/sqlite3.c:50164: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(&pWal->hdr.aSalt[1], &salt1, 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:50506: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(&pWal->hdr, &h1, sizeof(WalIndexHdr));
data/cctools-7.1.2/chirp/src/sqlite3.c:51075: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(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr));
data/cctools-7.1.2/chirp/src/sqlite3.c:51323: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(&aWalHdr[16], pWal->hdr.aSalt, 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:53359: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 aSpace[200];          /* Temp space for pIdxKey - to avoid a malloc */
data/cctools-7.1.2/chirp/src/sqlite3.c:53863:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&temp[x], &data[x], (cbrk+size) - x);
data/cctools-7.1.2/chirp/src/sqlite3.c:53866:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&data[cbrk], &src[pc], size);
data/cctools-7.1.2/chirp/src/sqlite3.c:53927: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(&aData[iAddr], &aData[pc], 2);
data/cctools-7.1.2/chirp/src/sqlite3.c:54546: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 zDbHeader[100];  /* Database header content */
data/cctools-7.1.2/chirp/src/sqlite3.c:54606: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(zFullPathname, zFilename, sqlite3Strlen30(zFilename)+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:55429:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, zMagicHeader, sizeof(zMagicHeader));
data/cctools-7.1.2/chirp/src/sqlite3.c:56774: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(pPayload, pBuf, nByte);
data/cctools-7.1.2/chirp/src/sqlite3.c:56777: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(pBuf, pPayload, nByte);
data/cctools-7.1.2/chirp/src/sqlite3.c:56972: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.
          memcpy(aSave, aWrite, 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:56975: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.
          memcpy(aWrite, aSave, 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:57985: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(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:58009:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:58015:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&pPrevTrunk->aData[0], &pTrunk->aData[0], 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:58038: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.
          memcpy(&pNewTrunk->aData[0], &pTrunk->aData[0], 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:58040: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.
          memcpy(&pNewTrunk->aData[8], &pTrunk->aData[12], (k-1)*4);
data/cctools-7.1.2/chirp/src/sqlite3.c:58105:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&aData[8+closest*4], &aData[4+k*4], 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:58593:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pPayload, pSrc, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:58705:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTemp, pCell, sz);
data/cctools-7.1.2/chirp/src/sqlite3.c:58734:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&data[idx], pCell, sz);
data/cctools-7.1.2/chirp/src/sqlite3.c:58781: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(&pTmp[i], &aData[i], usableSize - i);
data/cctools-7.1.2/chirp/src/sqlite3.c:58790: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(pData, pCell, szCell[i]);
data/cctools-7.1.2/chirp/src/sqlite3.c:58854: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(pSlot, apCell[i], sz);
data/cctools-7.1.2/chirp/src/sqlite3.c:58943: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(pTmp, aData, pPg->pBt->usableSize);
data/cctools-7.1.2/chirp/src/sqlite3.c:59218: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(&aTo[iData], &aFrom[iData], pBt->usableSize-iData);
data/cctools-7.1.2/chirp/src/sqlite3.c:59219: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(&aTo[iToHdr], &aFrom[iFromHdr], pFrom->cellOffset + 2*pFrom->nCell);
data/cctools-7.1.2/chirp/src/sqlite3.c:59418: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.
          memcpy(&aOvflSpace[iOff], apDiv[i], szNew[i]);
data/cctools-7.1.2/chirp/src/sqlite3.c:59501:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTemp, apDiv[i], sz);
data/cctools-7.1.2/chirp/src/sqlite3.c:59510: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(apCell[nCell], &pOld->aData[8], 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:59708: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(&apNew[nNew-1]->aData[8], &pOld->aData[8], 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:59781:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pNew->aData[8], pCell, 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:60011: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(pChild->aiOvfl, pRoot->aiOvfl,
data/cctools-7.1.2/chirp/src/sqlite3.c:60013: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(pChild->apOvfl, pRoot->apOvfl,
data/cctools-7.1.2/chirp/src/sqlite3.c:60264:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(newCell, oldCell, 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:60985: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 zBuf[200];
data/cctools-7.1.2/chirp/src/sqlite3.c:61434: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 zErr[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:62109:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zOut, zIn, nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:62734: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(pMem->zMalloc, pMem->z, pMem->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:62930: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(pMem, &t, sizeof(t));
data/cctools-7.1.2/chirp/src/sqlite3.c:63374: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(pTo, pFrom, MEMCELLSIZE);
data/cctools-7.1.2/chirp/src/sqlite3.c:63392: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(pTo, pFrom, MEMCELLSIZE);
data/cctools-7.1.2/chirp/src/sqlite3.c:63416: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(pTo, pFrom, sizeof(Mem));
data/cctools-7.1.2/chirp/src/sqlite3.c:63491: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(pMem->z, z, nAlloc);
data/cctools-7.1.2/chirp/src/sqlite3.c:65228: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.
          memcpy(&zTemp[i],",...",4);
data/cctools-7.1.2/chirp/src/sqlite3.c:65235: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(&zTemp[i], zColl, n+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:65396: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 zPtr[50];
data/cctools-7.1.2/chirp/src/sqlite3.c:65397: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 zCom[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:65701:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1000];
data/cctools-7.1.2/chirp/src/sqlite3.c:65913:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->azVar, pParse->azVar, p->nzVar*sizeof(p->azVar[0]));
data/cctools-7.1.2/chirp/src/sqlite3.c:66778:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *out = fopen("vdbe_profile.out", "a");
data/cctools-7.1.2/chirp/src/sqlite3.c:66797:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zHdr[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:67183:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, pMem->z, len);
data/cctools-7.1.2/chirp/src/sqlite3.c:67240: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(&pMem->u.r, &x, sizeof(x));
data/cctools-7.1.2/chirp/src/sqlite3.c:69981: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 zBase[100];         /* Initial working space */
data/cctools-7.1.2/chirp/src/sqlite3.c:70551:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[200];
data/cctools-7.1.2/chirp/src/sqlite3.c:71528: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(pOut->z, pIn2->z, pIn2->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:71530: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(&pOut->z[pIn2->n], pIn1->z, pIn1->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:72676: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(pDest->z, zData, len);
data/cctools-7.1.2/chirp/src/sqlite3.c:72945: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(pNew->zName, zName, nName+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:73955: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 aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*4 + 7];
data/cctools-7.1.2/chirp/src/sqlite3.c:77683:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->aAlloc, &p->aBuffer[iBuf], nAvail);
data/cctools-7.1.2/chirp/src/sqlite3.c:77699:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:77976: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(pKeyInfo, pCsr->pKeyInfo, szKeyInfo);
data/cctools-7.1.2/chirp/src/sqlite3.c:78451:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:78817: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(SRVAL(pNew), pVal->z, pVal->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:79613: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(pOut->z, pKey, nKey);
data/cctools-7.1.2/chirp/src/sqlite3.c:79771: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(zBuf, &p->zBuf[iOfst], iAmt);
data/cctools-7.1.2/chirp/src/sqlite3.c:79794:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->zBuf[iOfst], zBuf, iAmt);
data/cctools-7.1.2/chirp/src/sqlite3.c:80023: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(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
data/cctools-7.1.2/chirp/src/sqlite3.c:80075:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->endpoint.pChunk->zChunk[iChunkOffset], zWrite, iSpace);
data/cctools-7.1.2/chirp/src/sqlite3.c:80468: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(pExpr, pDup, sizeof(*pExpr));
data/cctools-7.1.2/chirp/src/sqlite3.c:82249:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:82661: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(zAlloc, p, nNewSize);
data/cctools-7.1.2/chirp/src/sqlite3.c:82664: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(zAlloc, p, nSize);
data/cctools-7.1.2/chirp/src/sqlite3.c:82676: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(zToken, p->u.zToken, nToken);
data/cctools-7.1.2/chirp/src/sqlite3.c:83973: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, 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:86984: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(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol);
data/cctools-7.1.2/chirp/src/sqlite3.c:87328:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->u.aRowid, pData, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:87355: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(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
data/cctools-7.1.2/chirp/src/sqlite3.c:87356: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(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
data/cctools-7.1.2/chirp/src/sqlite3.c:87357: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(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
data/cctools-7.1.2/chirp/src/sqlite3.c:88782: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(pSample->p, sqlite3_column_blob(pStmt, 4), pSample->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:88978:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zFile = (const char *)sqlite3_value_text(argv[0]);
data/cctools-7.1.2/chirp/src/sqlite3.c:88979:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zName = (const char *)sqlite3_value_text(argv[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:89014: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(aNew, db->aDb, sizeof(db->aDb[0])*2);
data/cctools-7.1.2/chirp/src/sqlite3.c:89087: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.
        zKey = (char *)sqlite3_value_blob(argv[2]);
data/cctools-7.1.2/chirp/src/sqlite3.c:89165:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *zName = (const char *)sqlite3_value_text(argv[0]);
data/cctools-7.1.2/chirp/src/sqlite3.c:89169: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 zErr[128];
data/cctools-7.1.2/chirp/src/sqlite3.c:90014: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 saveBuf[SAVE_SZ];
data/cctools-7.1.2/chirp/src/sqlite3.c:90025: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(saveBuf, &pParse->nVar, SAVE_SZ);
data/cctools-7.1.2/chirp/src/sqlite3.c:90030: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(&pParse->nVar, saveBuf, SAVE_SZ);
data/cctools-7.1.2/chirp/src/sqlite3.c:90252: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(db->aDbStatic, db->aDb, 2*sizeof(db->aDb[0]));
data/cctools-7.1.2/chirp/src/sqlite3.c:91331: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(&zStmt[k], zType, len);
data/cctools-7.1.2/chirp/src/sqlite3.c:91351: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(zExtra, pIdx->azColl, sizeof(char*)*pIdx->nColumn);
data/cctools-7.1.2/chirp/src/sqlite3.c:91354: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(zExtra, pIdx->aiColumn, sizeof(i16)*pIdx->nColumn);
data/cctools-7.1.2/chirp/src/sqlite3.c:91357: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(zExtra, pIdx->aSortOrder, pIdx->nColumn);
data/cctools-7.1.2/chirp/src/sqlite3.c:92107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zTab[24];
data/cctools-7.1.2/chirp/src/sqlite3.c:92357: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(z, pTo->z, pTo->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:92385:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(z, pToCol->a[i].zName, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:92791: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(pIndex->zName, zName, nName+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:92845:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zExtra, zColl, nColl);
data/cctools-7.1.2/chirp/src/sqlite3.c:93092: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(&a[1], aVal, nCopy*sizeof(LogEst));
data/cctools-7.1.2/chirp/src/sqlite3.c:94111:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pColl, pColl2, sizeof(CollSeq));
data/cctools-7.1.2/chirp/src/sqlite3.c:94221:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pColl[0].zName, zName, nName);
data/cctools-7.1.2/chirp/src/sqlite3.c:94460: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(pBest->zName, zName, nName);
data/cctools-7.1.2/chirp/src/sqlite3.c:96328:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zBuf[50];
data/cctools-7.1.2/chirp/src/sqlite3.c:96574:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&zOut[j], zRep, nRep);
data/cctools-7.1.2/chirp/src/sqlite3.c:96580: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(&zOut[j], &zStr[i], nStr-i);
data/cctools-7.1.2/chirp/src/sqlite3.c:96688: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 zResult[8];
data/cctools-7.1.2/chirp/src/sqlite3.c:96737:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *zFile = (const char *)sqlite3_value_text(argv[0]);
data/cctools-7.1.2/chirp/src/sqlite3.c:96743:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zProc = (const char *)sqlite3_value_text(argv[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:97036: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(aWc, pDef->pUserData, 3);
data/cctools-7.1.2/chirp/src/sqlite3.c:98442:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((char *)pStep->target.z, zFrom, nFrom);
data/cctools-7.1.2/chirp/src/sqlite3.c:100717:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(*pzErrMsg, sqlite3_errmsg(db), nErrMsg);
data/cctools-7.1.2/chirp/src/sqlite3.c:100866: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).
  int  (*open)(const char*,sqlite3**);
data/cctools-7.1.2/chirp/src/sqlite3.c:101112:53:  [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).
#define sqlite3_open                   sqlite3_api->open
data/cctools-7.1.2/chirp/src/sqlite3.c:101758: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(zAltEntry, "sqlite3_", 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:101767: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(zAltEntry+iEntry, "_init", 6);
data/cctools-7.1.2/chirp/src/sqlite3.c:101802: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(aHandle, db->aExtension, sizeof(handle)*db->nExtension);
data/cctools-7.1.2/chirp/src/sqlite3.c:102644: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(pI64, &value, sizeof(value));
data/cctools-7.1.2/chirp/src/sqlite3.c:102751: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 *aFcntl[4];       /* Argument to SQLITE_FCNTL_PRAGMA */
data/cctools-7.1.2/chirp/src/sqlite3.c:104371:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zKey[40];
data/cctools-7.1.2/chirp/src/sqlite3.c:104552: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 const *azArg[4];
data/cctools-7.1.2/chirp/src/sqlite3.c:110825:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zLine[100];
data/cctools-7.1.2/chirp/src/sqlite3.c:110987: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(z, argv[i], n);
data/cctools-7.1.2/chirp/src/sqlite3.c:111473: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(z, pName->z, pName->n);
data/cctools-7.1.2/chirp/src/sqlite3.c:113415:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zCopy, zName, nName+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:114389: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(pNew->zName, pDef->zName, sqlite3Strlen30(pDef->zName)+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:115026: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(aiCur, pWInfo->aiCurOnePass, sizeof(int)*2);
data/cctools-7.1.2/chirp/src/sqlite3.c:115035: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(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0]));
data/cctools-7.1.2/chirp/src/sqlite3.c:115168: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(pWC->a, pOld, sizeof(pWC->a[0])*pWC->nTerm);
data/cctools-7.1.2/chirp/src/sqlite3.c:115592: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 wc[3];                /* Wildcard characters */
data/cctools-7.1.2/chirp/src/sqlite3.c:117797:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];               /* Initial space for EQP output string */
data/cctools-7.1.2/chirp/src/sqlite3.c:118488:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pOrTab->a, pTabItem, sizeof(*pTabItem));
data/cctools-7.1.2/chirp/src/sqlite3.c:118806:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zType[4];
data/cctools-7.1.2/chirp/src/sqlite3.c:118807: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(zType, "...", 4);
data/cctools-7.1.2/chirp/src/sqlite3.c:118916: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(paNew, p->aLTerm, sizeof(p->aLTerm[0])*p->nLSlot);
data/cctools-7.1.2/chirp/src/sqlite3.c:118932: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(pTo, pFrom, WHERE_LOOP_XFER_SZ);
data/cctools-7.1.2/chirp/src/sqlite3.c:118933: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(pTo->aLTerm, pFrom->aLTerm, pTo->nLTerm*sizeof(pTo->aLTerm[0]));
data/cctools-7.1.2/chirp/src/sqlite3.c:120502: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 zName[65];
data/cctools-7.1.2/chirp/src/sqlite3.c:120789: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(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop);
data/cctools-7.1.2/chirp/src/sqlite3.c:125325: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 const char zText[553] = {
data/cctools-7.1.2/chirp/src/sqlite3.c:125358:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aHash[127] = {
data/cctools-7.1.2/chirp/src/sqlite3.c:125370:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aNext[124] = {
data/cctools-7.1.2/chirp/src/sqlite3.c:125382:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aLen[124] = {
data/cctools-7.1.2/chirp/src/sqlite3.c:125406:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aCode[124] = {
data/cctools-7.1.2/chirp/src/sqlite3.c:126663: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(&y, &x, 8);
data/cctools-7.1.2/chirp/src/sqlite3.c:127701:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zBuf[50];
data/cctools-7.1.2/chirp/src/sqlite3.c:128992: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(zFile, zUri, nUri);
data/cctools-7.1.2/chirp/src/sqlite3.c:130381: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.
          memcpy(pNew, aArg, nArg*sizeof(void *));
data/cctools-7.1.2/chirp/src/sqlite3.c:132377: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(p, zCol, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:132673: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(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex);
data/cctools-7.1.2/chirp/src/sqlite3.c:132683: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(zCsr, argv[2], nName);
data/cctools-7.1.2/chirp/src/sqlite3.c:132686: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(zCsr, argv[1], nDb);
data/cctools-7.1.2/chirp/src/sqlite3.c:132693: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.
    z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n);
data/cctools-7.1.2/chirp/src/sqlite3.c:132694: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(zCsr, z, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:132699:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    assert( zCsr <= &((char *)p)[nByte] );
data/cctools-7.1.2/chirp/src/sqlite3.c:133118: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(&zBuffer[nPrefix], zCsr, nSuffix);
data/cctools-7.1.2/chirp/src/sqlite3.c:133270:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, *ppPoslist, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:133308:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, *ppPoslist, n);
data/cctools-7.1.2/chirp/src/sqlite3.c:133633: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 *aaOutput[16];             /* Malloc'd output buffers */
data/cctools-7.1.2/chirp/src/sqlite3.c:133998:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTS->aaOutput[0], aDoclist, nDoclist);
data/cctools-7.1.2/chirp/src/sqlite3.c:134768: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(&pRet, sqlite3_value_blob(pVal), sizeof(Fts3Cursor *));
data/cctools-7.1.2/chirp/src/sqlite3.c:134887:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      zArg = (const char *)sqlite3_value_text(apVal[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:135780: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(aDoclist, a[p->nToken-1].pList, nByte+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:137241: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((char *)p->pFts3Tab->zDb, zDb, nDb);
data/cctools-7.1.2/chirp/src/sqlite3.c:137242: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((char *)p->pFts3Tab->zName, zFts3, nFts3);
data/cctools-7.1.2/chirp/src/sqlite3.c:137898: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(pRet->pPhrase->aToken[0].z, zToken, nToken);
data/cctools-7.1.2/chirp/src/sqlite3.c:138013: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(&zTemp[nTemp], zByte, nByte);
data/cctools-7.1.2/chirp/src/sqlite3.c:138041:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zBuf, zTemp, nTemp);
data/cctools-7.1.2/chirp/src/sqlite3.c:138788:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp));
data/cctools-7.1.2/chirp/src/sqlite3.c:138887:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          (const char *)sqlite3_value_text(argv[0]), &pModule);
data/cctools-7.1.2/chirp/src/sqlite3.c:138904:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zExpr = (const char *)sqlite3_value_text(argv[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:138913:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    azCol[ii] = (char *)sqlite3_value_text(argv[ii+2]);
data/cctools-7.1.2/chirp/src/sqlite3.c:139335: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*)new_elem->pKey, pKey, nKey);
data/cctools-7.1.2/chirp/src/sqlite3.c:139693: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 zReverse[28];
data/cctools-7.1.2/chirp/src/sqlite3.c:140265: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 *azArg[64];
data/cctools-7.1.2/chirp/src/sqlite3.c:140282:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zName = (const char *)sqlite3_value_text(argv[0]);
data/cctools-7.1.2/chirp/src/sqlite3.c:140284:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zInput = (const char *)sqlite3_value_text(argv[argc-1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:140300:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    azArg[i-1] = (const char *)sqlite3_value_text(argv[i]);
data/cctools-7.1.2/chirp/src/sqlite3.c:140380:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp));
data/cctools-7.1.2/chirp/src/sqlite3.c:140540: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 delim[128];             /* flag ASCII delimiters */
data/cctools-7.1.2/chirp/src/sqlite3.c:140872: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(pSpace, argv[i], n+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:141086:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
data/cctools-7.1.2/chirp/src/sqlite3.c:141092:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pCsr->zInput, zByte, nByte);
data/cctools-7.1.2/chirp/src/sqlite3.c:142116:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *zText = (const char *)sqlite3_value_text(apVal[i]);
data/cctools-7.1.2/chirp/src/sqlite3.c:142579: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(&pReader->zTerm[nPrefix], pNext, nSuffix);
data/cctools-7.1.2/chirp/src/sqlite3.c:142809: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(pReader->aNode, zRoot, nRoot);
data/cctools-7.1.2/chirp/src/sqlite3.c:142929:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pReader->ppNextElem, aElem, nElem*sizeof(Fts3HashElem *));
data/cctools-7.1.2/chirp/src/sqlite3.c:143220:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pTree->aData[nData], &zTerm[nPrefix], nSuffix);
data/cctools-7.1.2/chirp/src/sqlite3.c:143234: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(pTree->zTerm, zTerm, nTerm);
data/cctools-7.1.2/chirp/src/sqlite3.c:143484: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(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix);
data/cctools-7.1.2/chirp/src/sqlite3.c:143487: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(&pWriter->aData[nData], aDoclist, nDoclist);
data/cctools-7.1.2/chirp/src/sqlite3.c:143506: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(pWriter->zTerm, zTerm, nTerm);
data/cctools-7.1.2/chirp/src/sqlite3.c:143814: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(pMsr->aBuffer, pList, nList);
data/cctools-7.1.2/chirp/src/sqlite3.c:144158: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.
              memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
data/cctools-7.1.2/chirp/src/sqlite3.c:144909:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->term.a[nPrefix], &p->aNode[p->iOff], nSuffix);
data/cctools-7.1.2/chirp/src/sqlite3.c:145013: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(&pBlk->a[pBlk->n], &zTerm[nPrefix], nSuffix);
data/cctools-7.1.2/chirp/src/sqlite3.c:145016: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(pNode->key.a, zTerm, nTerm);
data/cctools-7.1.2/chirp/src/sqlite3.c:145089: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(pPrev->a, zTerm, nTerm);
data/cctools-7.1.2/chirp/src/sqlite3.c:145096: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(&pNode->a[pNode->n], &zTerm[nPrefix], nSuffix);
data/cctools-7.1.2/chirp/src/sqlite3.c:145101: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(&pNode->a[pNode->n], aDoclist, nDoclist);
data/cctools-7.1.2/chirp/src/sqlite3.c:145432: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(pNode->block.a, aRoot, nRoot);
data/cctools-7.1.2/chirp/src/sqlite3.c:145444: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.
          memcpy(pNode->key.a, reader.term.a, reader.term.n);
data/cctools-7.1.2/chirp/src/sqlite3.c:145454: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.
              memcpy(pNode->block.a, aBlock, nBlock);
data/cctools-7.1.2/chirp/src/sqlite3.c:145918: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.
          memcpy(pHint->a, aHint, nHint);
data/cctools-7.1.2/chirp/src/sqlite3.c:146480:20:  [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).
    p->nNodeSize = atoi(&zVal[9]);
data/cctools-7.1.2/chirp/src/sqlite3.c:146483:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    p->nMaxPendingData = atoi(&zVal[11]);
data/cctools-7.1.2/chirp/src/sqlite3.c:146486:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    p->bNoIncrDoclist = atoi(&zVal[21]);
data/cctools-7.1.2/chirp/src/sqlite3.c:146608: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(pRet, &p->pList->aData[nSkip], *pnData);
data/cctools-7.1.2/chirp/src/sqlite3.c:147367: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(&pStr->z[pStr->n], zAppend, nAppend);
data/cctools-7.1.2/chirp/src/sqlite3.c:148032: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(pCsr->zMatchinfo, zArg, nArg+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:148303:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char aBuffer[64];
data/cctools-7.1.2/chirp/src/sqlite3.c:149687: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(pNode->zData, zBlob, pRtree->iNodeSize);
data/cctools-7.1.2/chirp/src/sqlite3.c:150065: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(&c.u,a,4);                                           \
data/cctools-7.1.2/chirp/src/sqlite3.c:150073: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(&c.u,a,4);                                           \
data/cctools-7.1.2/chirp/src/sqlite3.c:150637: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(pBlob, sqlite3_value_blob(pValue), nBlob);
data/cctools-7.1.2/chirp/src/sqlite3.c:150816: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 zIdxStr[RTREE_MAX_DIMENSIONS*8+1];
data/cctools-7.1.2/chirp/src/sqlite3.c:150946: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(&cell, p, sizeof(RtreeCell));
data/cctools-7.1.2/chirp/src/sqlite3.c:151128: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(aSpare, aLeft, sizeof(int)*nLeft);
data/cctools-7.1.2/chirp/src/sqlite3.c:151197: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(aSpare, aLeft, sizeof(int)*nLeft);
data/cctools-7.1.2/chirp/src/sqlite3.c:151288:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell));
data/cctools-7.1.2/chirp/src/sqlite3.c:151289:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell));
data/cctools-7.1.2/chirp/src/sqlite3.c:151318: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(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell));
data/cctools-7.1.2/chirp/src/sqlite3.c:151319: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(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell));
data/cctools-7.1.2/chirp/src/sqlite3.c:151386: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(&aCell[nCell], pCell, sizeof(RtreeCell));
data/cctools-7.1.2/chirp/src/sqlite3.c:151678:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&aCell[ii], pCell, sizeof(RtreeCell));
data/cctools-7.1.2/chirp/src/sqlite3.c:152148: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 const char *azSql[N_STATEMENT] = {
data/cctools-7.1.2/chirp/src/sqlite3.c:152337: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(pRtree->zDb, argv[1], nDb);
data/cctools-7.1.2/chirp/src/sqlite3.c:152338: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(pRtree->zName, argv[2], nName);
data/cctools-7.1.2/chirp/src/sqlite3.c:152414:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zCell[512];
data/cctools-7.1.2/chirp/src/sqlite3.c:152820: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 zBuf[128];
data/cctools-7.1.2/chirp/src/sqlite3.c:152948:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zLocale = (const char *)sqlite3_value_text(apArg[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:153035:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zLocale = (const char *)sqlite3_value_text(apArg[0]);
data/cctools-7.1.2/chirp/src/sqlite3.c:153036:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zName = (const char *)sqlite3_value_text(apArg[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:153186:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->zLocale, argv[0], n);
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:158:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(fd = open(argv[2], O_RDONLY));
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:182:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(fd = open(argv[3], O_RDONLY));
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:188:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(fd = open(argv[2], O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR));
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:194: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(output, input, (size_t)buf.st_size);
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:204:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(fd = open(argv[2], O_RDONLY));
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:212: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).
	FILE *output1 = fopen(argv[3], "w");
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:226: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).
	FILE *output2 = fopen(argv[4], "w");
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:247:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(fd = open(argv[3], O_RDONLY));
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:254:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(fd = open(argv[4], O_RDONLY));
data/cctools-7.1.2/chirp/tools/workflows/intsort/intsort.c:261:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(fd = open(argv[2], O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR));
data/cctools-7.1.2/deltadb/src/deltadb_query.c:76:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE * file = fopen(filename,"r");
data/cctools-7.1.2/deltadb/src/deltadb_query.c:109:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE * file = fopen(filename,"r");
data/cctools-7.1.2/deltadb/src/deltadb_query.c:183: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[32];
data/cctools-7.1.2/deltadb/src/deltadb_query.c:216:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char str[32];
data/cctools-7.1.2/deltadb/src/deltadb_query.c:435:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *file = fopen(filename,"r");
data/cctools-7.1.2/deltadb/src/deltadb_query.c:483:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char suffix[2];
data/cctools-7.1.2/deltadb/src/deltadb_query.c:570:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char reduce_name[1024];
data/cctools-7.1.2/deltadb/src/deltadb_query.c:571:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char reduce_attr[1024];
data/cctools-7.1.2/deltadb/src/deltadb_query.c:692:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *file = fopen(dbfile,"r");
data/cctools-7.1.2/deltadb/src/deltadb_stream.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 line[LOG_LINE_MAX];
data/cctools-7.1.2/deltadb/src/deltadb_stream.c:28:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char value[LOG_LINE_MAX];
data/cctools-7.1.2/deltadb/src/deltadb_stream.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 name[LOG_LINE_MAX];
data/cctools-7.1.2/deltadb/src/deltadb_stream.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 key[LOG_LINE_MAX];
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.c:48:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *input = fopen(argv[1],"r");
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.c:54:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *output = fopen(argv[2],"w");
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[LOG_LINE_MAX] = "";
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[LOG_LINE_MAX] = "";
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.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 name[LOG_LINE_MAX] = "";
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.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 value[LOG_LINE_MAX] = "";
data/cctools-7.1.2/deltadb/src/deltadb_upgrade_log.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 lastkey[LOG_LINE_MAX] = "";
data/cctools-7.1.2/dttools/src/auth.c:69:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth.c: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 type[AUTH_TYPE_MAX];
data/cctools-7.1.2/dttools/src/auth.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 addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/auth.c:165:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_address.c:28:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_address.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 addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/auth_globus.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 line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_globus.c:34: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).
		*sizep = atoi(line);
data/cctools-7.1.2/dttools/src/auth_hostname.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 line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_hostname.c:39:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/auth_hostname.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 name[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/auth_kerberos.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 addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/auth_kerberos.c:39:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/auth_kerberos.c:158: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.
							char myrealm[AUTH_SUBJECT_MAX];
data/cctools-7.1.2/dttools/src/auth_kerberos.c:159: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.
							char userrealm[AUTH_SUBJECT_MAX];
data/cctools-7.1.2/dttools/src/auth_kerberos.c:160: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.
							char username[AUTH_SUBJECT_MAX];
data/cctools-7.1.2/dttools/src/auth_test.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 line[1024];
data/cctools-7.1.2/dttools/src/auth_test.c:67: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).
			portnum = atoi(optarg);
data/cctools-7.1.2/dttools/src/auth_test.c:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/auth_ticket.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 line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_ticket.c:61: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 digest[MD5_DIGEST_LENGTH_HEX+1] = "";
data/cctools-7.1.2/dttools/src/auth_ticket.c:62: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 challenge[1024];
data/cctools-7.1.2/dttools/src/auth_ticket.c:90:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					unsigned char md5digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/dttools/src/auth_ticket.c:183:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmpf[PATH_MAX] = "";
data/cctools-7.1.2/dttools/src/auth_ticket.c:188: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 line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_ticket.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 ticket_digest[MD5_DIGEST_LENGTH_HEX + 1];
data/cctools-7.1.2/dttools/src/auth_ticket.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 ticket_subject[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_ticket.c:203: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 challenge[CHALLENGE_LENGTH];
data/cctools-7.1.2/dttools/src/auth_ticket.c:204: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 sig[CHALLENGE_LENGTH*64]; /* 64x (4096) should be more than enough... */
data/cctools-7.1.2/dttools/src/auth_ticket.c:239:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
						strcpy(tmpf, "/tmp/tmp.XXXXXX");
data/cctools-7.1.2/dttools/src/auth_ticket.c:240:25:  [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).
						CATCHUNIX(tmpfd = mkstemp(tmpf));
data/cctools-7.1.2/dttools/src/auth_unix.c:25: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 challenge_dir[AUTH_LINE_MAX] = "/tmp";
data/cctools-7.1.2/dttools/src/auth_unix.c:26: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 alternate_passwd_file[AUTH_LINE_MAX] = "\0";
data/cctools-7.1.2/dttools/src/auth_unix.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 challenge[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_unix.c:54:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	rc = open(challenge, O_CREAT|O_EXCL|O_WRONLY|O_SYNC|O_NOCTTY, S_IRUSR|S_IWUSR);
data/cctools-7.1.2/dttools/src/auth_unix.c:109: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 line[1024];
data/cctools-7.1.2/dttools/src/auth_unix.c:123: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).
	p.pw_uid = atoi(uid);
data/cctools-7.1.2/dttools/src/auth_unix.c:124: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).
	p.pw_gid = atoi(gid);
data/cctools-7.1.2/dttools/src/auth_unix.c:137:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(alternate_passwd_file, "r");
data/cctools-7.1.2/dttools/src/auth_unix.c:162:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/auth_unix.c:163:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/b64.c:17:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const char e_base64[64] = {
data/cctools-7.1.2/dttools/src/b64.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 o[4];
data/cctools-7.1.2/dttools/src/b64.c:101: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 o[3];
data/cctools-7.1.2/dttools/src/b64.c:102: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 i[4] = {(unsigned char)b64[0], (unsigned char)b64[1], 0, 0};
data/cctools-7.1.2/dttools/src/bitmap.c:139: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(b->data, a->data, a->width * a->height * sizeof(*a->data));
data/cctools-7.1.2/dttools/src/bitmap.c:204:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "rb");
data/cctools-7.1.2/dttools/src/bitmap.c:222:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "wb");
data/cctools-7.1.2/dttools/src/bitmap.c:283:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "wb");
data/cctools-7.1.2/dttools/src/bitmap.c:328:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "rb");
data/cctools-7.1.2/dttools/src/bitmap.c:374: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 palette[48];
data/cctools-7.1.2/dttools/src/bitmap.c:379: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 filler[58];
data/cctools-7.1.2/dttools/src/bitmap.c:414:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "rb");
data/cctools-7.1.2/dttools/src/bitmap.c:485:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[80];
data/cctools-7.1.2/dttools/src/bitmap.c:487:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pad[404];
data/cctools-7.1.2/dttools/src/bitmap.c:526:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "rb");
data/cctools-7.1.2/dttools/src/bitmap.c:645:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "rb");
data/cctools-7.1.2/dttools/src/bitmap.c:681:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(path, "wb");
data/cctools-7.1.2/dttools/src/buffer.c:92: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(new, b->buf, used);
data/cctools-7.1.2/dttools/src/buffer.c:153:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(b->end, str, len);
data/cctools-7.1.2/dttools/src/buffer.c:185: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, b->buf, n+1); /* include NUL */
data/cctools-7.1.2/dttools/src/buffer.h: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 initial[BUFFER_INISIZ]; /* a reasonably sized buffer to use initially so we avoid (numerous) heap allocations */
data/cctools-7.1.2/dttools/src/catalog_query.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 hostport[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/catalog_query.c:109: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 host[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/catalog_query.c:302:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if(compress_limit_str) compress_limit = atoi(compress_limit_str);
data/cctools-7.1.2/dttools/src/catalog_query.c:332: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 address[DATAGRAM_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/catalog_query.c:333: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 host[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/catalog_query.h:21:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define CATALOG_PORT (getenv("CATALOG_PORT") ? atoi(getenv("CATALOG_PORT")) : CATALOG_PORT_DEFAULT )
data/cctools-7.1.2/dttools/src/catalog_server.c:81:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char hostname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:84: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 owner[USERNAME_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:117:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char data[1024*1024];
data/cctools-7.1.2/dttools/src/catalog_server.c:236:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:251:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(data,raw_data,raw_data_length);
data/cctools-7.1.2/dttools/src/catalog_server.c:297:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:344:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[DATAGRAM_PAYLOAD_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:345:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DATAGRAM_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:365:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[TCP_PAYLOAD_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:372:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.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 line[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.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 url[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:404:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:405:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char action[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:406:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char version[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:407:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hostport[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:408:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.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 key[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:523: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 avail_line[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:524: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 total_line[LINE_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.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 raddr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/catalog_server.c:670:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				child_procs_max = atoi(optarg);
data/cctools-7.1.2/dttools/src/catalog_server.c:685: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).
				port = atoi(optarg);
data/cctools-7.1.2/dttools/src/catalog_server.c:714:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		logfile = fopen(logfilename,"a");
data/cctools-7.1.2/dttools/src/catalog_server.c:755: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 addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/catalog_update.c:95:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char owner[USERNAME_MAX];
data/cctools-7.1.2/dttools/src/category_test.c:60:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *input_f = fopen(input_name, "r");
data/cctools-7.1.2/dttools/src/category_test.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   state[64], id[64];
data/cctools-7.1.2/dttools/src/chunk.c:87:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(file_name, "r");
data/cctools-7.1.2/dttools/src/chunk.c:146:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(chunk_set->physical_file_name, "r");
data/cctools-7.1.2/dttools/src/chunk.c:173:13:  [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).
	new_file = fopen(new_name, "w");
data/cctools-7.1.2/dttools/src/chunk.c:185:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		old_file = fopen(current_file_name, "r");
data/cctools-7.1.2/dttools/src/clean_dir.c:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char subdir[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:25:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int getfullpath (int dirfd, const char *path, char fullpath[PATH_MAX])
data/cctools-7.1.2/dttools/src/compat-at.c:25:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int getfullpath (int dirfd, const char *path, char fullpath[PATH_MAX])
data/cctools-7.1.2/dttools/src/compat-at.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 dirpath[PATH_MAX] = ".";
data/cctools-7.1.2/dttools/src/compat-at.c:35: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 dirpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:36: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 procpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.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 fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:74:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.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 fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.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 fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:97:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newfullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:106:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:109: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).
	return open(fullpath, oflag, cmode);
data/cctools-7.1.2/dttools/src/compat-at.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 fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:122:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:130:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.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 newfullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:141:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.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 fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.c:161:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int cctools_utimensat (int dirfd, const char *path, const struct timespec times[2], int flag)
data/cctools-7.1.2/dttools/src/compat-at.c:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/compat-at.h:58:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	int cctools_utimensat (int dirfd, const char *path, const struct timespec times[2], int flag);
data/cctools-7.1.2/dttools/src/console_login.c:39:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open("/dev/tty", O_RDWR);
data/cctools-7.1.2/dttools/src/copy_stream.c:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[COPY_BUFFER_SIZE];
data/cctools-7.1.2/dttools/src/copy_stream.c:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[COPY_BUFFER_SIZE];
data/cctools-7.1.2/dttools/src/copy_stream.c:88:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int in = open(input, O_RDONLY);
data/cctools-7.1.2/dttools/src/copy_stream.c:98:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int out = open(output, O_WRONLY|O_CREAT|O_TRUNC, info.st_mode);
data/cctools-7.1.2/dttools/src/copy_stream.c:100: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 dir[PATH_MAX];
data/cctools-7.1.2/dttools/src/copy_stream.c:103: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).
			out = open(output, O_WRONLY|O_CREAT|O_TRUNC, info.st_mode);
data/cctools-7.1.2/dttools/src/copy_stream.c:125:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(filename, O_RDONLY);
data/cctools-7.1.2/dttools/src/copy_stream.c:158:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[COPY_BUFFER_SIZE];
data/cctools-7.1.2/dttools/src/copy_stream.c:193:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[COPY_BUFFER_SIZE];
data/cctools-7.1.2/dttools/src/copy_stream.c:222:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[COPY_BUFFER_SIZE];
data/cctools-7.1.2/dttools/src/copy_tree.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 linkname[PATH_MAX];
data/cctools-7.1.2/dttools/src/daemon.c:45:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *file = fopen(pidfile, "w");
data/cctools-7.1.2/dttools/src/datagram.c:98:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char port_string[16];
data/cctools-7.1.2/dttools/src/datagram.c:130: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).
	*port = atoi(port_string);
data/cctools-7.1.2/dttools/src/debug.c:47:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char debug_program_name[PATH_MAX];
data/cctools-7.1.2/dttools/src/debug.c:183:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ubuf[1<<16];
data/cctools-7.1.2/dttools/src/debug.c:214:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if((terminal_f = fopen(terminal_path, "a")) == NULL) {
data/cctools-7.1.2/dttools/src/debug_file.c:26: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 file_path[PATH_MAX];
data/cctools-7.1.2/dttools/src/debug_file.c:40:23:  [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).
		CATCHUNIX(file_fd = open(file_path, O_CREAT|O_APPEND|O_WRONLY|O_NOCTTY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP));
data/cctools-7.1.2/dttools/src/debug_file.c:47: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 tmp[PATH_MAX] = "";
data/cctools-7.1.2/dttools/src/debug_file.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 old[PATH_MAX];
data/cctools-7.1.2/dttools/src/debug_file.c:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char old[PATH_MAX] = "";
data/cctools-7.1.2/dttools/src/disk_alloc.c:184:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loop_dev[128], loop_info[128], loop_mount[128];
data/cctools-7.1.2/dttools/src/disk_alloc.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 loop_mountpoint_array[128];
data/cctools-7.1.2/dttools/src/domain_name_cache.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 addr[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/domain_name_cache.c:106:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/domain_name_cache.c:109:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen("/etc/resolv.conf", "r");
data/cctools-7.1.2/dttools/src/domain_name_cache.c:131:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/domain_name_cache.c:132:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char domain[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/domain_name_cache.c:162: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 shortname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/elfheader.c:51: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 e_ident[EI_NIDENT];
data/cctools-7.1.2/dttools/src/elfheader.c:68: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 e_ident[EI_NIDENT];
data/cctools-7.1.2/dttools/src/elfheader.c:233:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX] = "";
data/cctools-7.1.2/dttools/src/elfheader.h:18:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int elf_get_interp(int fd, char interp[PATH_MAX]);
data/cctools-7.1.2/dttools/src/env_replace.c:43:19:  [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).
		int output_fd = mkstemp(output);
data/cctools-7.1.2/dttools/src/envtools.c:50:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *INPUT = fopen(infile, "r");
data/cctools-7.1.2/dttools/src/envtools.c:56:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *OUTPUT = fopen(outfile, "w");
data/cctools-7.1.2/dttools/src/envtools.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 variable[1024];
data/cctools-7.1.2/dttools/src/fast_popen.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 cmd[4096];
data/cctools-7.1.2/dttools/src/fd.c:60: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).
	fdn = open("/dev/null", oflag);
data/cctools-7.1.2/dttools/src/file_cache.c:32:16:  [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).
#define open64 open
data/cctools-7.1.2/dttools/src/file_cache.c:33:19:  [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).
#define mkstemp64 mkstemp
data/cctools-7.1.2/dttools/src/file_cache.c:42: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 digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/dttools/src/file_cache.c:49: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 digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/dttools/src/file_cache.c:50:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char shortname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/file_cache.c:58:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txn[PATH_MAX];
data/cctools-7.1.2/dttools/src/file_cache.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 dirname[PATH_MAX];
data/cctools-7.1.2/dttools/src/file_cache.c:60: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 digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/dttools/src/file_cache.c:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/cctools-7.1.2/dttools/src/file_cache.c:162:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/cctools-7.1.2/dttools/src/file_cache.c:166:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char shortname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/file_cache.c:167:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char myshortname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/dttools/src/file_cache.c:275:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/file_cache.c:302:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lpath[PATH_MAX];
data/cctools-7.1.2/dttools/src/get_line.c:16: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 buffer[LARGE_LINE_MAX];
data/cctools-7.1.2/dttools/src/getopt_aux.c:19:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *file = fopen(port_file,"w");
data/cctools-7.1.2/dttools/src/gpu_info.c:47:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[10]; /* Enough characters to hold a decimal representation of a 32 bit int. */
data/cctools-7.1.2/dttools/src/gpu_info.c:50: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).
			gpu_count = atoi(buffer);
data/cctools-7.1.2/dttools/src/hdfs_library.c:171:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	HDFS_LOAD_FUNC(open, "hdfsOpenFile");
data/cctools-7.1.2/dttools/src/hdfs_library.h:53: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).
	hdfsFile (*open) (hdfsFS, const char *, int, int, short, tSize);
data/cctools-7.1.2/dttools/src/hmac.c:42: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(key, in_key, in_key_len);
data/cctools-7.1.2/dttools/src/hmac.c:53: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(inner + block_size, text, text_len);
data/cctools-7.1.2/dttools/src/hmac.c:57: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(outer + block_size, digest, digest_len);
data/cctools-7.1.2/dttools/src/hmac.c:66:97:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int hmac_md5(const void *text, size_t text_len, const void *in_key, size_t in_key_len, unsigned char digest[MD5_DIGEST_LENGTH])
data/cctools-7.1.2/dttools/src/hmac.c:71:98:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int hmac_sha1(const void *text, size_t text_len, const void *in_key, size_t in_key_len, unsigned char digest[SHA1_DIGEST_LENGTH])
data/cctools-7.1.2/dttools/src/hmac.h:40:101:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int hmac_md5(const void *buffer, size_t buffer_length, const void *key, size_t key_length, unsigned char digest[MD5_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/hmac.h:50:102:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int hmac_sha1(const void *buffer, size_t buffer_length, const void *key, size_t key_length, unsigned char digest[SHA1_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/host_memory_info.c:59:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen("/proc/self/statm", "r");
data/cctools-7.1.2/dttools/src/http_query.c:70: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 proxies[HTTP_LINE_MAX];
data/cctools-7.1.2/dttools/src/http_query.c:89:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char url[HTTP_LINE_MAX];
data/cctools-7.1.2/dttools/src/http_query.c:90:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newurl[HTTP_LINE_MAX];
data/cctools-7.1.2/dttools/src/http_query.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 line[HTTP_LINE_MAX];
data/cctools-7.1.2/dttools/src/http_query.c:92:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/http_query.c:96:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char actual_host[HTTP_LINE_MAX];
data/cctools-7.1.2/dttools/src/http_query.c:235:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(filename, "w");
data/cctools-7.1.2/dttools/src/interfaces_address.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 host[IP_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/jx2json.c:60:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				FILE *f = fopen(optarg, "r");
data/cctools-7.1.2/dttools/src/jx2json.c:144: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).
		stream = fopen(input, "r");
data/cctools-7.1.2/dttools/src/jx_binary_test.c:33:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *textfile = fopen(argv[1],"r");
data/cctools-7.1.2/dttools/src/jx_binary_test.c:39:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *binaryfile = fopen(argv[2],"w");
data/cctools-7.1.2/dttools/src/jx_binary_test.c:45: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).
	FILE *textout = fopen(argv[3],"w");
data/cctools-7.1.2/dttools/src/jx_binary_test.c:59:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	binaryfile = fopen(argv[2],"r");
data/cctools-7.1.2/dttools/src/jx_count_obj_test.c:22: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).
	int n = atoi(argv[1]);
data/cctools-7.1.2/dttools/src/jx_count_obj_test.c:25:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *stream = fopen(filename, "r");
data/cctools-7.1.2/dttools/src/jx_database.c:42:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(filename,"w");
data/cctools-7.1.2/dttools/src/jx_database.c:71:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE * file = fopen(filename,"r");
data/cctools-7.1.2/dttools/src/jx_database.c:99:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE * file = fopen(filename,"r");
data/cctools-7.1.2/dttools/src/jx_database.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 filename[PATH_MAX];
data/cctools-7.1.2/dttools/src/jx_database.c:156:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	db->logfile = fopen(filename,"a");
data/cctools-7.1.2/dttools/src/jx_database.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 line[LOG_LINE_MAX];
data/cctools-7.1.2/dttools/src/jx_database.c:307:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char value[LOG_LINE_MAX];
data/cctools-7.1.2/dttools/src/jx_database.c:308:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[LOG_LINE_MAX];
data/cctools-7.1.2/dttools/src/jx_database.c:309:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[LOG_LINE_MAX];
data/cctools-7.1.2/dttools/src/jx_database.c:315:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(filename,"r");
data/cctools-7.1.2/dttools/src/jx_database.c:415:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX];
data/cctools-7.1.2/dttools/src/jx_export.c:238: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 line[1024];
data/cctools-7.1.2/dttools/src/jx_function.c:114: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 next[2];
data/cctools-7.1.2/dttools/src/jx_parse.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 token[MAX_TOKEN_SIZE];
data/cctools-7.1.2/dttools/src/jx_parse.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 str[5];
data/cctools-7.1.2/dttools/src/jx_parse.c:983:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(name,"r");
data/cctools-7.1.2/dttools/src/libforce_halt_enospc.c:23:5:  [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(const char *path, int flags, ...)
data/cctools-7.1.2/dttools/src/libforce_halt_enospc.c:26: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).
	__typeof__(open) *original_open = dlsym(RTLD_NEXT, "open");
data/cctools-7.1.2/dttools/src/libforce_halt_enospc.c:47:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		err_fd = open(filename, O_RDWR | O_CREAT);
data/cctools-7.1.2/dttools/src/libforce_halt_enospc.c:77:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(filename, O_RDWR | O_CREAT);
data/cctools-7.1.2/dttools/src/link.c:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[1<<16];
data/cctools-7.1.2/dttools/src/link.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char raddr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/dttools/src/link.c:95:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		link_send_window = atoi(s);
data/cctools-7.1.2/dttools/src/link.c:96:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		link_recv_window = atoi(s);
data/cctools-7.1.2/dttools/src/link.c:392: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).
			low = atoi(lowstr);
data/cctools-7.1.2/dttools/src/link.c:395: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).
			high = atoi(highstr);
data/cctools-7.1.2/dttools/src/link.c:597:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(data, link->buffer_start, chunk);
data/cctools-7.1.2/dttools/src/link.c:651:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(data, link->buffer_start, chunk);
data/cctools-7.1.2/dttools/src/link.c:840:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char port_string[16];
data/cctools-7.1.2/dttools/src/link.c:854:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                *port = atoi(port_string);
data/cctools-7.1.2/dttools/src/link.c:869:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char port_string[16];
data/cctools-7.1.2/dttools/src/link.c:883: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).
		*port = atoi(port_string);
data/cctools-7.1.2/dttools/src/link.c:897: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[1<<16];
data/cctools-7.1.2/dttools/src/link.c:920:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[1<<16];
data/cctools-7.1.2/dttools/src/link.c:945:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[1<<16];
data/cctools-7.1.2/dttools/src/link.c:970:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[1<<16];
data/cctools-7.1.2/dttools/src/link.c:995:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[1<<16];
data/cctools-7.1.2/dttools/src/link.c:1020:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[1<<16];
data/cctools-7.1.2/dttools/src/link_auth.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 line[LINK_AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/link_auth.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 my_random_key[LINK_AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/link_auth.c:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_random_key[LINK_AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/link_auth.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 my_response[LINK_AUTH_LINE_MAX*2+1];
data/cctools-7.1.2/dttools/src/link_auth.c:67: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/dttools/src/link_auth.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char expected_response[LINK_AUTH_LINE_MAX*2+1];
data/cctools-7.1.2/dttools/src/link_auth.c:80:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char actual_response[LINK_AUTH_LINE_MAX];
data/cctools-7.1.2/dttools/src/load_average.c:39:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen("/proc/loadavg", "r");
data/cctools-7.1.2/dttools/src/load_average.c:50:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen("/proc/cpuinfo", "r");
data/cctools-7.1.2/dttools/src/load_average.c:52: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 line[1024];
data/cctools-7.1.2/dttools/src/md5.c:265: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(&context->buffer[index], input, partLen);
data/cctools-7.1.2/dttools/src/md5.c:276: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(&context->buffer[index], (uint8_t *)input+i, inputLen - i);
data/cctools-7.1.2/dttools/src/md5.c:283: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 digest[16];	/* message digest */
data/cctools-7.1.2/dttools/src/md5.c:309:61:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void md5_buffer(const void *buffer, size_t length, unsigned char digest[16])
data/cctools-7.1.2/dttools/src/md5.c:323:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int md5_file(const char *filename, unsigned char digest[20])
data/cctools-7.1.2/dttools/src/md5.c:323:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int md5_file(const char *filename, unsigned char digest[20])
data/cctools-7.1.2/dttools/src/md5.c:330:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(filename, O_RDONLY);
data/cctools-7.1.2/dttools/src/md5.c:360:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *md5_string(unsigned char digest[16])
data/cctools-7.1.2/dttools/src/md5.c:360: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.
const char *md5_string(unsigned char digest[16])
data/cctools-7.1.2/dttools/src/md5.c:362: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[33];
data/cctools-7.1.2/dttools/src/md5.c:365:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(&str[i * 2], "%02x", (unsigned) digest[i]);
data/cctools-7.1.2/dttools/src/md5.c:372: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 digest[MD5_DIGEST_LENGTH_HEX];
data/cctools-7.1.2/dttools/src/md5.h:35:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void md5_final(unsigned char digest[MD5_DIGEST_LENGTH], md5_context_t * ctx);
data/cctools-7.1.2/dttools/src/md5.h:45:61:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void md5_buffer(const void *buffer, size_t length, unsigned char digest[MD5_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/md5.h:55:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int md5_file(const char *filename, unsigned char digest[MD5_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/md5.h:55:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int md5_file(const char *filename, unsigned char digest[MD5_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/md5.h:62:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *md5_string(unsigned char digest[MD5_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/md5.h:62: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.
const char *md5_string(unsigned char digest[MD5_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/memfdexe.c:39: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[PATH_MAX];
data/cctools-7.1.2/dttools/src/memfdexe.c:43: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).
			fd = mkstemp(path);
data/cctools-7.1.2/dttools/src/microbench.c:31:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *OP_STRINGS[NOPS] = { "stat ", "open ", "write", "read ", "fsync", "close" };
data/cctools-7.1.2/dttools/src/microbench.c:58:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	*fd = open(path, OPEN_FLAGS);
data/cctools-7.1.2/dttools/src/microbench.c:69:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[BUFFER_SIZE];
data/cctools-7.1.2/dttools/src/microbench.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 buffer[BUFFER_SIZE];
data/cctools-7.1.2/dttools/src/microbench.c:132: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).
	runs = atoi(argv[2]);
data/cctools-7.1.2/dttools/src/mkdir_recursive.c:32: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 subpath[PATH_MAX] = "";
data/cctools-7.1.2/dttools/src/mkdir_recursive.c:36: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(subpath, path, i+nextdelim);
data/cctools-7.1.2/dttools/src/mkdir_recursive.c:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char parent[PATH_MAX] = "";
data/cctools-7.1.2/dttools/src/multirun.c:69:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[BUFFER_SIZE + 1];
data/cctools-7.1.2/dttools/src/multirun.c:71:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[1024];
data/cctools-7.1.2/dttools/src/multirun.c:77:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		outfile = fopen(filename, "w");
data/cctools-7.1.2/dttools/src/multirun.c:169: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).
				timeout = atoi(argv[i]);
data/cctools-7.1.2/dttools/src/multirun.c:175: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).
				limit = atoi(argv[i]);
data/cctools-7.1.2/dttools/src/nvpair.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 line[NVPAIR_LINE_MAX];
data/cctools-7.1.2/dttools/src/nvpair.c:71:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[NVPAIR_LINE_MAX];
data/cctools-7.1.2/dttools/src/nvpair.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 value[NVPAIR_LINE_MAX];
data/cctools-7.1.2/dttools/src/nvpair.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[NVPAIR_LINE_MAX];
data/cctools-7.1.2/dttools/src/nvpair.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 value[256];
data/cctools-7.1.2/dttools/src/nvpair.c:168:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char value[256];
data/cctools-7.1.2/dttools/src/nvpair.c:169:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(value, "%lf", fvalue);
data/cctools-7.1.2/dttools/src/nvpair_jx.c:102:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE * file = fopen(path,"r");
data/cctools-7.1.2/dttools/src/path.c:128:32:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	if(strcmp(start, "../") == 0) strcpy(start, "..");
data/cctools-7.1.2/dttools/src/path.c:177: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 tmp[PATH_MAX];
data/cctools-7.1.2/dttools/src/path.c:190: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 fn[PATH_MAX];
data/cctools-7.1.2/dttools/src/path.c:350:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char absolute_dir[PATH_MAX+1];
data/cctools-7.1.2/dttools/src/path.c:361:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char absolute_path[PATH_MAX+1];
data/cctools-7.1.2/dttools/src/path.c:476:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char p1[PATH_MAX], p2[PATH_MAX];
data/cctools-7.1.2/dttools/src/path_disk_size_info.c:82: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 composed_path[PATH_MAX];
data/cctools-7.1.2/dttools/src/random.c:26:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open("/dev/urandom", O_RDONLY);
data/cctools-7.1.2/dttools/src/random.c:28:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/random", O_RDONLY);
data/cctools-7.1.2/dttools/src/random.c:67: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(out+i, &r, count);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:175: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 fproc_path[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:190:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if((fproc = fopen(fproc_path, "r")) == NULL)
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:202:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char proc_attr_line[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:252:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fstat = fopen(fchildren_path, "r");
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:437:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char map_info_line[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:438:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char map_name_found[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:704:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_line[1024];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:735:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/cctools-7.1.2/dttools/src/rmonitor_poll.c:783:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cmdline[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:858:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_link[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:859:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_org[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:993:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_link[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:994:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_org[PATH_MAX];
data/cctools-7.1.2/dttools/src/rmsummary.c:766:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	stream = fopen(filename, "r");
data/cctools-7.1.2/dttools/src/rmsummary.c:807:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	stream = fopen(filename, "r");
data/cctools-7.1.2/dttools/src/rmsummary.c:964: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).
		s->cores  = atoi(value);
data/cctools-7.1.2/dttools/src/rmsummary.c:966: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).
		s->memory = atoi(value);
data/cctools-7.1.2/dttools/src/rmsummary.c:968: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).
		s->disk   = atoi(value);
data/cctools-7.1.2/dttools/src/rmsummary.c:1025: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(dest, src, sizeof(*dest));
data/cctools-7.1.2/dttools/src/s3_file_io.c:81: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(buff, bptr->data, bptr->length-1);
data/cctools-7.1.2/dttools/src/s3_file_io.c:122: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 dTa[256];
data/cctools-7.1.2/dttools/src/s3_file_io.c:147: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  reqToSign[2048];
data/cctools-7.1.2/dttools/src/s3_file_io.c:148: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  acl[32];
data/cctools-7.1.2/dttools/src/s3_file_io.c:149: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  rrs[64];
data/cctools-7.1.2/dttools/src/s3_file_io.c:245: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  resource [1024];
data/cctools-7.1.2/dttools/src/s3_file_io.c:267: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  resource [1024];
data/cctools-7.1.2/dttools/src/s3_file_io.c:284: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  resource [1024];
data/cctools-7.1.2/dttools/src/s3_file_io.c:300: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/cctools-7.1.2/dttools/src/s3_file_io.c:353: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/cctools-7.1.2/dttools/src/s3_file_io.c:391: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/cctools-7.1.2/dttools/src/s3_file_io.c:426: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 MD[256];
data/cctools-7.1.2/dttools/src/sha1.c:173: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((POINTER) eData, (POINTER) data, SHS_DATASIZE);
data/cctools-7.1.2/dttools/src/sha1.c:308: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(p, uchars, count);
data/cctools-7.1.2/dttools/src/sha1.c:311: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(p, uchars, dataCount);
data/cctools-7.1.2/dttools/src/sha1.c:320: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((POINTER) shsInfo->data, (POINTER) uchars, SHS_DATASIZE);
data/cctools-7.1.2/dttools/src/sha1.c:328: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((POINTER) shsInfo->data, (POINTER) uchars, count);
data/cctools-7.1.2/dttools/src/sha1.c:346:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void sha1_final(unsigned char output[2], sha1_context_t * shsInfo)
data/cctools-7.1.2/dttools/src/sha1.c:391:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int sha1_fd(int fd, unsigned char digest[20])
data/cctools-7.1.2/dttools/src/sha1.c:420:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int sha1_file(const char *path, unsigned char digest[20])
data/cctools-7.1.2/dttools/src/sha1.c:420:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int sha1_file(const char *path, unsigned char digest[20])
data/cctools-7.1.2/dttools/src/sha1.c:422:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(path, O_RDONLY|O_NOCTTY);
data/cctools-7.1.2/dttools/src/sha1.c:430:62:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void sha1_buffer(const void *buffer, size_t length, unsigned char digest[20])
data/cctools-7.1.2/dttools/src/sha1.c:439:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *sha1_string(unsigned char digest[20])
data/cctools-7.1.2/dttools/src/sha1.c:439:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *sha1_string(unsigned char digest[20])
data/cctools-7.1.2/dttools/src/sha1.c:441: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[41];
data/cctools-7.1.2/dttools/src/sha1.c:444:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(&str[i * 2], "%02x", (unsigned) digest[i]);
data/cctools-7.1.2/dttools/src/sha1.h:38:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void sha1_final(unsigned char digest[SHA1_DIGEST_LENGTH], sha1_context_t * ctx);
data/cctools-7.1.2/dttools/src/sha1.h:48:62:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void sha1_buffer(const void *buffer, size_t length, unsigned char digest[SHA1_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/sha1.h:58:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int sha1_file(const char *path, unsigned char digest[SHA1_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/sha1.h:58:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int sha1_file(const char *path, unsigned char digest[SHA1_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/sha1.h:60:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int sha1_fd(int fd, unsigned char digest[SHA1_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/sha1.h:67:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *sha1_string(unsigned char digest[SHA1_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/sha1.h:67:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *sha1_string(unsigned char digest[SHA1_DIGEST_LENGTH]);
data/cctools-7.1.2/dttools/src/shell.c:39:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		CATCHUNIX(putenv((char *)env[i]));
data/cctools-7.1.2/dttools/src/shell.c:93: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 b[1<<16];
data/cctools-7.1.2/dttools/src/sigdef.c:7:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char def[16];
data/cctools-7.1.2/dttools/src/stringtools.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 buffer[256];
data/cctools-7.1.2/dttools/src/stringtools.c:241: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 localbuffer[100];
data/cctools-7.1.2/dttools/src/stringtools.c:670: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.
	return (char *) _sys_siglist[sig];
data/cctools-7.1.2/dttools/src/stringtools.c:827:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *Month[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
data/cctools-7.1.2/dttools/src/stringtools.c:925:77:  [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 (strcasecmp(str, "true") == 0) || (strcasecmp(str, "yes") == 0) || (atoi(str) > 0);
data/cctools-7.1.2/dttools/src/stringtools.c:960:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(result," /bin/sh -c ");
data/cctools-7.1.2/dttools/src/text_array.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 value[4096];
data/cctools-7.1.2/dttools/src/text_array.c:85:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(filename, "r");
data/cctools-7.1.2/dttools/src/text_array.c:109:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(filename, "w");
data/cctools-7.1.2/dttools/src/text_list.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 line[1024];
data/cctools-7.1.2/dttools/src/text_list.c:27:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(path, "r");
data/cctools-7.1.2/dttools/src/uuid.c:25: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 bytes[16*2];
data/cctools-7.1.2/dttools/src/uuid.c:32: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 bytes[16*2];
data/cctools-7.1.2/dttools/src/uuid.c:36: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 byte[3] = {hex[0], hex[1], '\0'};
data/cctools-7.1.2/dttools/src/uuid.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 str[UUID_LEN + 1 /* for NUL */];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:58:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.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 buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:198:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(addr,"%d.%d.%d.%d",a,b,c,d);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:205:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:212:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buffer,"PORT %d,%d,%d,%d,%d,%d",a,b,c,d,port/256,port&0xff);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:242:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:243: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 pass[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.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 buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:346:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:373:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:374:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[NETWORK_ADDR_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:492:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:516:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:546:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:561:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:575:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:598:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:613:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:637:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:657:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:672:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:687:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:702:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:717:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:720:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[NETWORK_ADDR_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:748:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:847:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:850:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(line,"MIC ");
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:871:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:907:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:933:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:975:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:976:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char principal_buf[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:1006:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(principal_buf,"ftp@");
data/cctools-7.1.2/ftp_lite/src/ftp_lite_copy.c:61:19:  [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).
				source_port = atoi(optarg);
data/cctools-7.1.2/ftp_lite/src/ftp_lite_copy.c:64:19:  [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).
				target_port = atoi(optarg);
data/cctools-7.1.2/ftp_lite/src/ftp_lite_copy.c:89:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			source_fp = fopen(source_file,"rb");
data/cctools-7.1.2/ftp_lite/src/ftp_lite_copy.c:101:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			target_fp = fopen(target_file,"rb+");
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.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 line[LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char command[LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.c:74:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char arg1[LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.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 arg2[LINE_MAX];
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.c:127: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).
		port = atoi(textport);
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.c:159:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(lfile,"wb+");
data/cctools-7.1.2/ftp_lite/src/ftp_lite_test.c:190:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(lfile,"rb");
data/cctools-7.1.2/ftp_lite/src/login.c:37:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open("/dev/tty",O_RDWR);
data/cctools-7.1.2/ftp_lite/src/network.c:348:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(str,"%u.%u.%u.%u",
data/cctools-7.1.2/ftp_lite/src/network.c:398: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(addr,h->h_addr,sizeof(*addr));
data/cctools-7.1.2/ftp_lite/src/network.c:422:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char my_name[NETWORK_NAME_MAX];
data/cctools-7.1.2/ftp_lite/src/network.c:423:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char my_addr_string[NETWORK_ADDR_MAX];
data/cctools-7.1.2/grow/src/grow.c:39:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[GROW_LINE_MAX];
data/cctools-7.1.2/grow/src/grow.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 name[GROW_LINE_MAX];
data/cctools-7.1.2/grow/src/grow.c:41:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char linkname[GROW_LINE_MAX];
data/cctools-7.1.2/grow/src/grow.h: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 checksum[SHA1_DIGEST_ASCII_LENGTH];
data/cctools-7.1.2/grow/src/grow_fuse.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 cachepath[PATH_MAX];
data/cctools-7.1.2/grow/src/grow_fuse.c:97:15:  [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).
		int tmpfd = mkstemp(tmppath);
data/cctools-7.1.2/grow/src/grow_fuse.c:281:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int grow_fuse_utimens(const char *path, const struct timespec ts[2]) {
data/cctools-7.1.2/grow/src/grow_fuse.c:401:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			stats_out = fopen(options.stats_file, "w");
data/cctools-7.1.2/grow/src/grow_fuse.c:408: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[PATH_MAX];
data/cctools-7.1.2/grow/src/grow_fuse.c:415:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			root.cache = open(path, O_PATH|O_DIRECTORY);
data/cctools-7.1.2/grow/src/grow_fuse.c:420: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(path, "%02x", i);
data/cctools-7.1.2/grow/src/grow_fuse.c:427: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).
		root.fd = open(options.basedir, O_PATH);
data/cctools-7.1.2/makeflow/src/dag_node.c:120:12:  [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).
		int fd = mkstemp(n->workflow_args_file);
data/cctools-7.1.2/makeflow/src/dag_node_footprint.c:590: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 *files[set_size(s)];
data/cctools-7.1.2/makeflow/src/dag_node_footprint.c:659:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	out = fopen(output, "w");
data/cctools-7.1.2/makeflow/src/dag_visitors.c:201:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		dag_stream = fopen(dag_file, "w");
data/cctools-7.1.2/makeflow/src/dag_visitors.c:229:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[64];
data/cctools-7.1.2/makeflow/src/dag_visitors.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 fn[PATH_MAX];
data/cctools-7.1.2/makeflow/src/dag_visitors.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 dax_filename[PATH_MAX];
data/cctools-7.1.2/makeflow/src/dag_visitors.c:427:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *dax = fopen(dax_filename, "w");
data/cctools-7.1.2/makeflow/src/dag_visitors.c:435:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	dax = fopen(dax_filename, "w");
data/cctools-7.1.2/makeflow/src/dag_visitors.c:440:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	dax = fopen(dax_filename, "w");
data/cctools-7.1.2/makeflow/src/dag_visitors.c:524:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char timestring[20];
data/cctools-7.1.2/makeflow/src/dag_visitors.c:863: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 cytoid[6];
data/cctools-7.1.2/makeflow/src/dag_visitors.c:864:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(cytoid, "F%d", e->id);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:1015:20:  [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).
		ppm_option_int = atoi(ppm_option);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:1054:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(name, "%d", n->nodeid);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:1117:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char color_array[3];
data/cctools-7.1.2/makeflow/src/lexer.c:49: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(t->lexeme, lx->lexeme, lx->lexeme_size);
data/cctools-7.1.2/makeflow/src/lexer.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 str[1024];
data/cctools-7.1.2/makeflow/src/lexer.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 message_filled[BUFFER_CHUNK_SIZE];
data/cctools-7.1.2/makeflow/src/lexer.c:470: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 end_markers[8] = { end_marker, '$', '\\', '"', '\'', '#', 0};
data/cctools-7.1.2/makeflow/src/lexer.c:1397:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *ff = fopen("../example/example.makeflow", "r");
data/cctools-7.1.2/makeflow/src/makeflow.c:616: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(n->resources_allocated, task->resources, sizeof(struct rmsummary));
data/cctools-7.1.2/makeflow/src/makeflow.c:1124:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open("/dev/tty", O_WRONLY);
data/cctools-7.1.2/makeflow/src/makeflow.c:1126: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[256];
data/cctools-7.1.2/makeflow/src/makeflow.c:1656:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				makeflow_gc_count = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1659:46:  [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).
				file_creation_patience_wait_time = MAX(0,atoi(optarg));
data/cctools-7.1.2/makeflow/src/makeflow.c:1665:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				explicit_local_jobs_max = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1668:32:  [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).
				explicit_remote_jobs_max = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1680:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				explicit_local_cores = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1683:29:  [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).
				explicit_local_memory = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1686: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).
				explicit_local_disk = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1701:77:  [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).
				jx_insert(hook_args, jx_string("resource_monitor_interval"), jx_integer(atoi(optarg)));
data/cctools-7.1.2/makeflow/src/makeflow.c:1754: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).
				port = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1761:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				makeflow_retry_max = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1767:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				makeflow_submit_timeout = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:1870:75:  [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).
				jx_insert(hook_args, jx_string("storage_allocation_type"), jx_integer(atoi(optarg)));
data/cctools-7.1.2/makeflow/src/makeflow.c:2101:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				mpi_cores = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:2104:18:  [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).
				mpi_memory = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow.c:2202:60:  [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).
		explicit_remote_jobs_max = MIN(explicit_remote_jobs_max, atoi(s));
data/cctools-7.1.2/makeflow/src/makeflow.c:2207:58:  [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).
		explicit_local_jobs_max = MIN(explicit_local_jobs_max, atoi(s));
data/cctools-7.1.2/makeflow/src/makeflow.c:2280:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *file = fopen(batchlogfilename,"w");
data/cctools-7.1.2/makeflow/src/makeflow_analyze.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 file_destination[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_analyze.c:331: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 expanded_path[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_analyze.c:336:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char output_makeflow[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_catalog_reporter.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char username[USERNAME_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:61: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 *python_extensions[2]   = { "py", "pyc" };
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:62: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 *perl_extensions[2]     = { "pl", "pm" };
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:63: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 *makeflow_extensions[2] = { "mf", "makeflow" };
data/cctools-7.1.2/makeflow/src/makeflow_linker.c: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 file[PATH_MAX+6];
data/cctools-7.1.2/makeflow/src/makeflow_linker.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 expanded_input[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:182: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 starch_output_path[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:356: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 tmp_from_path[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:357: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 tmp_dest_path[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:404:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(path, "w");
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:489:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_wd[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_log.c:326:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *line, file[MAX_BUFFER_SIZE];
data/cctools-7.1.2/makeflow/src/makeflow_log.c:334:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	d->logfile = fopen(filename, "r");
data/cctools-7.1.2/makeflow/src/makeflow_log.c:342:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char source[PATH_MAX], cache_dir[NAME_MAX], cache_name[NAME_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_log.c:406:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	d->logfile = fopen(filename, "a");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:86:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char line[256];
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:196: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:347:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(task_info, "w");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:377:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(task_info, "w");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:433:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(file_path,"rb");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:443:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(fileCopy,"rb");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:813:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *taskFile = fopen(copyTar,"wb");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:845:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[1024];
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:862:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				FILE *fileLocal = fopen(filePath, "wb");
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:978:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(tarFile,"rb");
data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c:78:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char parrot_path[1024];
data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c:91:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char env_replace[1024];
data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c:129:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int host_parrot = open(p->parrot_path, O_RDONLY);
data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c:139:21:  [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 local_parrot = open(p->local_parrot_path, O_WRONLY|O_CREAT, S_IRWXU);
data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c:154:25:  [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 host_env_replace = open(p->env_replace, O_RDONLY);
data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c:164:26:  [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 local_env_replace = open(p->local_env_replace, O_WRONLY|O_CREAT, S_IRWXU);
data/cctools-7.1.2/makeflow/src/makeflow_module_enforcement.c:195:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *mountlist = fopen(mountlist_path, "w");
data/cctools-7.1.2/makeflow/src/makeflow_module_fail_dir.c:170:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *info_stream = fopen(info_path, "w");
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:381:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[PATH_MAX*2 + 1]; /* each line of the mountfile includes the target path, a space and the source path. */
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:392:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(mountfile, "r");
data/cctools-7.1.2/makeflow/src/makeflow_mounts.c:399: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 target[PATH_MAX], source[PATH_MAX];
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char procname[MPI_MAX_PROCESSOR_NAME];
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:155:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char livedie[10];
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:219:37:  [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).
                        sizes_cor = atoi(getenv("MPI_WORKER_CORES_PER"));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:70:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char c[8];
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:75:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* ran = fopen("/dev/urandom", "r");
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp[256];
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char big[1000];
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:115:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi(big);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:120: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).
    FILE* fout = fopen(fileout, "w+");
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:202: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).
    FILE* fout = fopen(fileout, "w+");
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:288: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).
    FILE* fout = fopen(fileout, "w+");
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:395:60:  [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).
                jx_insert_integer(config, "makeflow-port", atoi(optarg));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:402:52:  [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).
                jx_insert_integer(config, "slots", atoi(optarg));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:405:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                max_submits = atoi(optarg);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:408:63:  [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).
                jx_insert_integer(config, "cores-per-worker", atoi(optarg));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:411:53:  [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).
                jx_insert_integer(config, "memory", atoi(optarg));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:414:51:  [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).
                jx_insert_integer(config, "disk", atoi(optarg));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:484: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 outs[1024];
data/cctools-7.1.2/makeflow/src/makeflow_summary.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 buffer[50];
data/cctools-7.1.2/makeflow/src/makeflow_summary.c:39: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).
		summary_file = fopen(filename, "w");
data/cctools-7.1.2/makeflow/src/parser.c:69:13:  [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).
		dagfile = fopen(filename, "r");
data/cctools-7.1.2/parrot/src/ibox_acl.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 tmp[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.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 aclsubject[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.c:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/ibox_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 aclname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.c:118: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).
		return fopen(aclname, "r");
data/cctools-7.1.2/parrot/src/ibox_acl.c:124:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char acl[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.c:125:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.c:147: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 text[20];
data/cctools-7.1.2/parrot/src/ibox_acl.c:280:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char oldpath[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.c:281:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.c:282:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char subject[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/ibox_acl.c:293:13:  [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).
		newfile = fopen(newpath, "w");
data/cctools-7.1.2/parrot/src/irods_reli.cc:118:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/irods_reli.cc:311:20:  [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).
		info->st_ctime = atoi (response->createTime);
data/cctools-7.1.2/parrot/src/irods_reli.cc:312:20:  [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).
		info->st_mtime = atoi (response->modifyTime);
data/cctools-7.1.2/parrot/src/irods_reli.cc:322:19:  [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).
	info->st_ctime = atoi(response->createTime);
data/cctools-7.1.2/parrot/src/irods_reli.cc:323:19:  [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).
	info->st_mtime = atoi(response->modifyTime);
data/cctools-7.1.2/parrot/src/irods_reli.cc:324:19:  [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).
	info->st_atime = atoi(response->modifyTime);
data/cctools-7.1.2/parrot/src/irods_reli.cc:654: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 unsigned char hex_to_byte( char hex[2] )
data/cctools-7.1.2/parrot/src/irods_reli.cc:654:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char hex_to_byte( char hex[2] )
data/cctools-7.1.2/parrot/src/irods_reli.cc:849:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(data,response.buf,response.len);
data/cctools-7.1.2/parrot/src/parrot_client.c:199: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).
	int err = atoi(err_str), errsource;
data/cctools-7.1.2/parrot/src/parrot_client.c:202: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).
		errsource = atoi(readsearch_next(data, &i));
data/cctools-7.1.2/parrot/src/parrot_cp.c:39:6:  [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).
	s = open(source,O_RDONLY,0);
data/cctools-7.1.2/parrot/src/parrot_cp.c:51:6:  [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).
	t = open(target,O_WRONLY|O_CREAT|O_TRUNC,0777);
data/cctools-7.1.2/parrot/src/parrot_cp.c:143:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newsource[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_cp.c:144:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newtarget[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_cp.c:222:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newtarget[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_getacl.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[4096];
data/cctools-7.1.2/parrot/src/parrot_helper.c:28:7:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
pid_t vfork()
data/cctools-7.1.2/parrot/src/parrot_locate.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[4096];
data/cctools-7.1.2/parrot/src/parrot_lsalloc.c:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char alloc_path[4096];
data/cctools-7.1.2/parrot/src/parrot_md5.c:18: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 digest[16];
data/cctools-7.1.2/parrot/src/parrot_namespace.c:89:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/cctools-7.1.2/parrot/src/parrot_package_create.c:79: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).
		int input = open(filename, O_RDONLY);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:117:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(newpath, "../");
data/cctools-7.1.2/parrot/src/parrot_package_create.c:167:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pathcopy[PATH_MAX], *parent_dir;
data/cctools-7.1.2/parrot/src/parrot_package_create.c:232:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char p[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:263: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 mkdir_cmd[PATH_MAX * 2];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:282:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pathcopy[PATH_MAX], *first_dir, *tmp_dir;
data/cctools-7.1.2/parrot/src/parrot_package_create.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 p[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:328:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:361:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_entrypath[PATH_MAX], dir_name[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:392:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:476:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char tmppath[PATH_MAX], dir_name[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:495: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).
				int fd = open(new_path, O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:558: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[PATH_MAX], linked_path[PATH_MAX], pathcopy[PATH_MAX], dir_name[PATH_MAX], newbuf[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:593: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 new_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:641: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 item[PATH_MAX*2];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:653:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_envlist[PATH_MAX], common_mountlist[PATH_MAX], size_cmd[PATH_MAX], cmd_rv[100];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:657:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:678:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(common_mountlist, "w");
data/cctools-7.1.2/parrot/src/parrot_package_create.c:721:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[PATH_MAX], path[PATH_MAX], *caller;
data/cctools-7.1.2/parrot/src/parrot_package_create.c:783:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char special_filename[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:786:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	special_file = fopen(special_filename, "w");
data/cctools-7.1.2/parrot/src/parrot_package_create.c:825:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char special_filename_tmp[PATH_MAX];
data/cctools-7.1.2/parrot/src/parrot_package_create.c:827:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sort_cmd[PATH_MAX * 2];
data/cctools-7.1.2/parrot/src/parrot_whoami.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[4096];
data/cctools-7.1.2/parrot/src/pfs_channel.c:85: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.
	extern char pfs_temp_per_instance_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dircache.cc:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:135:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int pfs_dispatch_prepexe (struct pfs_process *p, char exe[PATH_MAX], const char *physical_name);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:212: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 path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:253: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[65536];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:284: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(local_addr, buf, p->syscall_result);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc: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 _buf[65536];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:546: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:589: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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:737: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(p->tmp, &addr, sizeof(addr)); /* save a copy of original addr structure */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:818:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:940: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 logical_name[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:941: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 physical_name[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:942: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 firstline[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:952:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1026: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[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1174:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1175:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1205: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 fds[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1211:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char resolved[PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1593:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char native_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1904: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(p->tmp, &addr, sizeof(addr)); /* save a copy of original addr structure */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2212:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2285:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2707:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2730:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2795:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2818:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2841:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2855:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2884:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char native_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3170:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char alloc_path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3198:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char callsite[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3202:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[2*PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char pattern[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3230: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3231: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 device[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3232: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 mode[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char subject[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3257:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char rights[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3270:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3271:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[4096];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3294:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3295:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[4096];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3318:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[1024];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3335:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char source[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char target[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char digest[16];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3369: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 flags[4096] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3384: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 native[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3430: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 buffer[4096];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3633:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int pfs_dispatch_prepexe (struct pfs_process *p, char exe[PATH_MAX], const char *physical_name)
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3635: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.
	extern char pfs_ldso_path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3641:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ldso_physical_name[PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3642:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ldso_resolved_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3648:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	CATCHUNIX(phyfd = open(physical_name, O_RDONLY));
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3654: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 path[PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3699: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.
		extern char pfs_temp_per_instance_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3700:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char filename[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3712: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 procfd[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3714:21:  [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).
		CATCHUNIX(tmpfd = open(procfd, O_RDONLY)); /* reopen as O_RDONLY to avoid ETXTBSY */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:141:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int pfs_dispatch_prepexe (struct pfs_process *p, char exe[PATH_MAX], const char *physical_name);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:218: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 path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:261: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[65536];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:292: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(local_addr, buf, p->syscall_result);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:346: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[65536];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:554: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:578: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(local_addr,&kbuf,sizeof(kbuf));
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:601: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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:620: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(local_addr,&kbuf,sizeof(kbuf));
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:640:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:762: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 logical_name[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:763: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 physical_name[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:764: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 firstline[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:774:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[PFS_PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:848: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[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:951:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:952:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:982: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 fds[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:988:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char resolved[PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1346:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char native_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1638: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(p->tmp, &addr, sizeof(addr)); /* save a copy of original addr structure */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1923:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1971:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1996:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2368:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2391:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2456:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2479:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2502:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2516:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char name[4096]; /* args[1] */
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2545:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char native_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2848:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char alloc_path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2876:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char callsite[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2880:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[2*PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2881:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char pattern[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2905:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2906:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char subject[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2907:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char rights[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2922: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2923: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 device[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2924: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 mode[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2937:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2948:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2949:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[4096];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2972:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2973:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[4096];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2996:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[1024];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:3013:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char source[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:3014:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char target[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:3027:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char digest[16];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:3047: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 flags[4096] = "";
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:3062: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 native[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:3108: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 buffer[4096];
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc: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 buffer[BUFFER_SIZE];
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[BUFFER_SIZE];
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:98:36:  [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).
			pfs_file *wfile = name.service->open(&name,O_WRONLY|O_CREAT|O_TRUNC,mode);
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:176:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txn[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:226:26:  [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).
		rfile = name->service->open(name,O_RDONLY,0);
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:229:26:  [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).
		rfile = name->service->open(name,O_RDONLY,0);
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:266:27:  [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).
		result = name->service->open(name,flags,mode);
data/cctools-7.1.2/parrot/src/pfs_location.cc: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 name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:108: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 sys_temp_dir[PATH_MAX] = "/tmp";
data/cctools-7.1.2/parrot/src/pfs_main.cc:109: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 pfs_temp_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:110: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 pfs_temp_per_instance_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:119: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 pfs_ldso_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:134: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 pfs_cvmfs_alien_cache_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:135: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 pfs_cvmfs_locks_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:137: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 pfs_cvmfs_option_file[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:216:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char helper_path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:543:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(pfs_write_rval_file, "w+");
data/cctools-7.1.2/parrot/src/pfs_main.cc:603:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char envlist[PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_main.cc:724:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if(s) pfs_follow_symlinks = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_main.cc:733:18:  [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(s) pfs_uid = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_main.cc:736:18:  [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(s) pfs_gid = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_main.cc:927: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).
			pfs_gid = atoi(optarg);
data/cctools-7.1.2/parrot/src/pfs_main.cc:933:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			pfs_irods_debug_level = atoi(optarg);
data/cctools-7.1.2/parrot/src/pfs_main.cc:958:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			namelist_file = fopen(optarg, "a");
data/cctools-7.1.2/parrot/src/pfs_main.cc:968: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 cmd[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:1046: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).
			pfs_uid = atoi(optarg);
data/cctools-7.1.2/parrot/src/pfs_main.cc:1093:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[4096];
data/cctools-7.1.2/parrot/src/pfs_main.cc:1134: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 service[128];
data/cctools-7.1.2/parrot/src/pfs_main.cc:1135: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 image[PATH_MAX] = {0};
data/cctools-7.1.2/parrot/src/pfs_main.cc:1136: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 mountpoint[PATH_MAX] = {0};
data/cctools-7.1.2/parrot/src/pfs_main.cc:1165:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		stats_out = fopen(stats_file, "w");
data/cctools-7.1.2/parrot/src/pfs_main.cc:1171: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[4096];
data/cctools-7.1.2/parrot/src/pfs_main.cc:1207:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *fp = fopen(envlist, "w");
data/cctools-7.1.2/parrot/src/pfs_main.cc:1212: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 working_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:1258: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[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_main.cc:1263:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(buf, O_RDONLY|O_DIRECTORY);
data/cctools-7.1.2/parrot/src/pfs_main.cc:1320: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).
			int fd = open("/dev/tty", O_RDWR);
data/cctools-7.1.2/parrot/src/pfs_mmap.h: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 fpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_mountfile.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 line[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_mountfile.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 prefix[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_mountfile.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char redirect[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_mountfile.c:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char options[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_mountfile.c:64:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(mountfile,"r");
data/cctools-7.1.2/parrot/src/pfs_name.h:17:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char logical_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_name.h: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 service_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_name.h:19:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_name.h:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_name.h: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 hostport[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_name.h: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 rest[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_paranoia.cc:102:23:  [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).
	int shared_mmap_fd = mkstemp(shared_mmap_template);
data/cctools-7.1.2/parrot/src/pfs_process.cc:100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[4096];
data/cctools-7.1.2/parrot/src/pfs_process.cc: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 filename[PATH_MAX] = "pfs@";
data/cctools-7.1.2/parrot/src/pfs_process.cc:192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_process.cc:193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char fdlink[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_process.cc:266: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(child->groups, parent->groups, child->ngroups * sizeof(gid_t));
data/cctools-7.1.2/parrot/src/pfs_process.cc:612: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(list, p->groups, p->ngroups * sizeof(gid_t));
data/cctools-7.1.2/parrot/src/pfs_process.cc:621:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p->groups, list, size * sizeof(gid_t));
data/cctools-7.1.2/parrot/src/pfs_process.h: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 name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_process.h: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 new_logical_name[PFS_PATH_MAX]; /* saved during execve */
data/cctools-7.1.2/parrot/src/pfs_process.h:79:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[4096];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:37:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char pfs_temp_dir[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:79:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_redirect[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:95: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(m, ns, sizeof(*m));
data/cctools-7.1.2/parrot/src/pfs_resolve.c:127:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(ns, e, sizeof(*ns));
data/cctools-7.1.2/parrot/src/pfs_resolve.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 cmd[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:284:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:285:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char prefix[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:286:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char rest[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:298:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
					strcpy(prefix,"chirp/CONDOR");
data/cctools-7.1.2/parrot/src/pfs_resolve.c:325:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lookup_key[PFS_PATH_MAX + 3 * sizeof(int) + 1];
data/cctools-7.1.2/parrot/src/pfs_resolve.c:429: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(m, ns, sizeof(*m));
data/cctools-7.1.2/parrot/src/pfs_resolve.h: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 prefix[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_resolve.h: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 redirect[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service.cc:54:25:  [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).
pfs_file * pfs_service::open( pfs_name *name, int flags, mode_t mode )
data/cctools-7.1.2/parrot/src/pfs_service.cc:426:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service.cc: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 key[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service.h:29:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode );
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:75: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 bxgrid_hostname[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:142:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc: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 query[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:308: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 replicaid[BXGRID_ID_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:438:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:439:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:504:88:  [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 (s) bxgrid_cache_stat_query = bxgrid_cache_ftor_query = bxgrid_cache_rtol_query = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:507:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (s) bxgrid_cache_stat_query = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:510:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (s) bxgrid_cache_ftor_query = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:513:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (s) bxgrid_cache_rtol_query = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:520: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).
		if (s) bxgrid_timeout = atoi(s);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:523: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 ip_address[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:567:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char buffer[PFS_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:654:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	virtual pfs_file *open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:728: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 host[PFS_PATH_MAX], path[PFS_PATH_MAX], location[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:69:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHIRP_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:205:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:530:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		sourcefile = fopen(source->logical_name,"r");
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:555:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		targetfile = fopen(target->logical_name,"w");
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:356: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).
	int key_fd = open(full_key_fname.c_str(),O_WRONLY|O_CREAT|O_TRUNC|O_NOFOLLOW,0644);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:556:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lockfile[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:559:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(lockfile,O_RDONLY|O_CREAT,0600);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1133:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_head[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1134:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_tail[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1135:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char link_target[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1137: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(xpath, path, sizeof(pfs_name));
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1175: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 path_relative[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1373:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	virtual pfs_file *open(pfs_name * name, int flags, mode_t mode) {
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1380:19:  [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).
				return local->open(name,flags,mode);
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:95:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:97: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 url[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:116: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 url[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:130: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 url[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[PATH_MAX] = {0};
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc: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 target[PATH_MAX] = {0};
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:159: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(target, buf.i_block, size);
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc: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 tmp[PATH_MAX] = {0};
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:358:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	virtual pfs_file *open(pfs_name *name, int flags, mode_t mode) {
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:480: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(buf, inode_buf.i_block, size);
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:83: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 username[USERNAME_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:84: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 hostname[DOMAIN_NAME_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:85: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 email[USERNAME_MAX+DOMAIN_NAME_MAX+1];
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:86:32:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			if(!username_get(username)) strcpy(username,"anonymous");
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:87:43:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			if(!domain_name_cache_guess(hostname)) strcpy(hostname,"nowhere");
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:93: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 user[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:94: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 pass[FTP_LITE_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:138:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:174: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 entry[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:238: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 tname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:110:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:113: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:130: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:150: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:163: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:175: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:186: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:197: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:208: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:209: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 newgfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:223: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:240: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:251: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 gfalname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:51:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:79: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(gname,n,sizeof(pfs_name));
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:217:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:218:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc: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 tmp[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:257:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:269:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:305:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:333:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:415:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:421: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 *tmp[1];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:449: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 *tmp[1];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:477:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:484: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 *tmp[1];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:503: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 nname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:504:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char glite_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hostport[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:116:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:158: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:159: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[SHA1_DIGEST_ASCII_LENGTH];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc: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 line[GROW_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc: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 url[GROW_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:162:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[GROW_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:163:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char txn[GROW_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:178:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		file = fopen(filename, "r");
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:262:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(filename,"r");
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:334:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:415: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 digest[SHA1_DIGEST_LENGTH];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:485:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:490: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 url[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:502: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).
			int fd = ::open(name->rest, O_RDONLY);
data/cctools-7.1.2/parrot/src/pfs_service_hdfs.cc:220:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_hdfs.cc:256:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		handle = hdfs->open(fs, name->rest, flags, 0, 0, 0);
data/cctools-7.1.2/parrot/src/pfs_service_http.cc: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 url[HTTP_LINE_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_http.cc:88:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:91:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_lfc.cc:171:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:316:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:735: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:764:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(name.service_name,"local");
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:111:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:223: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 tmp[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_nest.cc:231: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).
	pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:136:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:150:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:166: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:262: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 newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:299: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 newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc: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 name[L_tmpnam];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:73: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 digest[MD5_STRING_LENGTH];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:80:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char bucket[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:157:21:  [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).
	virtual pfs_file * open( pfs_name *name, int flags, mode_t mode ) {
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:158: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 bucket[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:159: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 path[MAX_KEY_LENGTH];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:179:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(local_name, "local_name-XXXXXX");
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:180: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).
			fd = mkstemp(local_name);
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:191:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				unsigned char digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:204:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				else local_file = ::fopen(local_name, "rb+");
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:207:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				local_file = ::fopen(local_name, "wb+");
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:210:38:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if(!local_exists) local_file = ::fopen(local_name, "wb+");
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:211:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				else local_file = ::fopen(local_name, "rb+");
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:228: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 bucket[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:258: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 bucket[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:280: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 bucket[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:302: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 path[MAX_KEY_LENGTH];
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:304: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 bucket[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_xrootd.cc: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 file_buf[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_service_xrootd.cc:110:21:  [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).
	virtual pfs_file * open(pfs_name * name, int flags, mode_t mode) {
data/cctools-7.1.2/parrot/src/pfs_sys.cc:65:31:  [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).
	result = pfs_current->table->open(path,flags,mode,pfs_force_cache,native_path,len);
data/cctools-7.1.2/parrot/src/pfs_sys.cc:73:31:  [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).
	result = pfs_current->table->open(path,flags,mode,1,native_path,len);
data/cctools-7.1.2/parrot/src/pfs_sys.cc:593:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:600:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc: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 newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:614:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:624:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int pfs_futimesat( int dirfd, const char *path, const struct timeval times[2] )
data/cctools-7.1.2/parrot/src/pfs_sys.cc: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 newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:639:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int pfs_utimens( const char *path, const struct timespec times[2] )
data/cctools-7.1.2/parrot/src/pfs_sys.cc:647:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int pfs_lutimens( const char *path, const struct timespec times[2] )
data/cctools-7.1.2/parrot/src/pfs_sys.cc:655:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int pfs_utimensat( int dirfd, const char *path, const struct timespec times[2], int flags )
data/cctools-7.1.2/parrot/src/pfs_sys.cc:657:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:671:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:683:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:695:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newoldpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:696:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newnewpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:706:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newoldpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:707:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newnewpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:718:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newnewpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:725:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:732:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.cc:739:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_sys.h:59:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int		pfs_utimensat( int dirfd, const char *pathname, const struct timespec times[2], int flags );
data/cctools-7.1.2/parrot/src/pfs_sys.h:77:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int		pfs_futimesat( int dirfd, const char *path, const struct timeval times[2] );
data/cctools-7.1.2/parrot/src/pfs_sysdeps.h:199:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sun_path[108];
data/cctools-7.1.2/parrot/src/pfs_table.cc:244:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char selfname[PATH_MAX] = "";
data/cctools-7.1.2/parrot/src/pfs_table.cc:247: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 path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:318: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[4096];
data/cctools-7.1.2/parrot/src/pfs_table.cc: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 link_target[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc: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 link_parent[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:470:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_logical_name[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:485: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 dirname[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:486: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 tmp[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:517: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 tmp[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:525:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->service_name,"local");
data/cctools-7.1.2/parrot/src/pfs_table.cc:526:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->host,"localhost");
data/cctools-7.1.2/parrot/src/pfs_table.cc:527:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->hostport,"localhost");
data/cctools-7.1.2/parrot/src/pfs_table.cc:532:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->host, "ext");
data/cctools-7.1.2/parrot/src/pfs_table.cc:533:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->hostport, "ext");
data/cctools-7.1.2/parrot/src/pfs_table.cc:551:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				strcpy(pname->hostport, "local");
data/cctools-7.1.2/parrot/src/pfs_table.cc:556:20:  [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).
					pname->port = atoi(c+1);
data/cctools-7.1.2/parrot/src/pfs_table.cc:583:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->service_name,"local");
data/cctools-7.1.2/parrot/src/pfs_table.cc:584:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->host,"localhost");
data/cctools-7.1.2/parrot/src/pfs_table.cc:585:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->hostport,"localhost");
data/cctools-7.1.2/parrot/src/pfs_table.cc:593:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->service_name,"local");
data/cctools-7.1.2/parrot/src/pfs_table.cc:594:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->host,"localhost");
data/cctools-7.1.2/parrot/src/pfs_table.cc:595:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(pname->hostport,"localhost");
data/cctools-7.1.2/parrot/src/pfs_table.cc:688:18:  [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_t ipid = atoi(pid);
data/cctools-7.1.2/parrot/src/pfs_table.cc:709:37:  [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).
				pfs_pointer *desc = getopenfile(atoi(pid), atoi(fd));
data/cctools-7.1.2/parrot/src/pfs_table.cc:709:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				pfs_pointer *desc = getopenfile(atoi(pid), atoi(fd));
data/cctools-7.1.2/parrot/src/pfs_table.cc:715:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
					file = pname.service->open(&pname,flags,mode);
data/cctools-7.1.2/parrot/src/pfs_table.cc:721: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.
				extern char pfs_temp_per_instance_dir[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:728: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).
					mmap_proc(atoi(pid), B);
data/cctools-7.1.2/parrot/src/pfs_table.cc:738:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				file = pname.service->open(&pname,flags,mode);
data/cctools-7.1.2/parrot/src/pfs_table.cc:751:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				file = pname.service->open(&pname,flags,mode);
data/cctools-7.1.2/parrot/src/pfs_table.cc:758:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				file = pname.service->open(&pname,flags,mode);
data/cctools-7.1.2/parrot/src/pfs_table.cc:777:16:  [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 pfs_table::open( const char *lname, int flags, mode_t mode, int force_cache, char *path, size_t len )
data/cctools-7.1.2/parrot/src/pfs_table.cc:1249:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newpath[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:1275:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:1491:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int pfs_table::utimens( const char *n, const struct timespec times[2] )
data/cctools-7.1.2/parrot/src/pfs_table.cc:1503:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int pfs_table::lutimens( const char *n, const struct timespec times[2] )
data/cctools-7.1.2/parrot/src/pfs_table.cc:1666:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			pfs_pointer *desc = getopenfile(atoi(pid), atoi(fd));
data/cctools-7.1.2/parrot/src/pfs_table.cc:1666:47:  [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).
			pfs_pointer *desc = getopenfile(atoi(pid), atoi(fd));
data/cctools-7.1.2/parrot/src/pfs_table.cc:1678:52:  [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).
			struct pfs_process *target = pfs_process_lookup(atoi(pid));
data/cctools-7.1.2/parrot/src/pfs_table.cc:1682:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(buf,path,count);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1851: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 atom[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:1892: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 atom[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:1943: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).
	int fd = t->open(fullpath, O_DIRECTORY|O_RDONLY, 0, 0, NULL, 0);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2085: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 path[PFS_PATH_MAX+1];
data/cctools-7.1.2/parrot/src/pfs_table.cc:2086: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 directory[PFS_PATH_MAX+1];
data/cctools-7.1.2/parrot/src/pfs_table.cc:2218: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 path[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:2401:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/cctools-7.1.2/parrot/src/pfs_table.cc:2403:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *maps = fopen(path, "r");
data/cctools-7.1.2/parrot/src/pfs_table.cc:2427: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 line[4096];
data/cctools-7.1.2/parrot/src/pfs_table.h:42:6:  [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( const char *path, int flags, mode_t mode, int force_cache, char *native_path, size_t len );
data/cctools-7.1.2/parrot/src/pfs_table.h:88:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	int	utimens( const char *path, const struct timespec times[2] );
data/cctools-7.1.2/parrot/src/pfs_table.h:89:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	int	lutimens( const char *path, const struct timespec times[2] );
data/cctools-7.1.2/parrot/src/pfs_table.h:155:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char        working_dir[PFS_PATH_MAX];
data/cctools-7.1.2/parrot/src/tracer.c:421: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(&word,bdata,size);
data/cctools-7.1.2/parrot/src/tracer.c:561: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(bdata,&word,(length-total));
data/cctools-7.1.2/resource_monitor/src/piggybacker.c:24:54:  [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(!path_lib || stat(path_lib, &buf) != 0 || !(fl = fopen(path_lib, "r")))
data/cctools-7.1.2/resource_monitor/src/piggybacker.c:32:7:  [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).
	fh = fopen(path_h,   "w");
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:304:24:  [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((log_file = fopen(log_path, "w")) == NULL) {
data/cctools-7.1.2/resource_monitor/src/resource_monitor.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 exec_type[PATH_MAX];
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:439:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(absolute_exec, O_RDONLY, 0);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:451:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(exec_type, "unknown");
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:462:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				strcpy(exec_type, "static");
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:464:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				strcpy(exec_type, "unknown");
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:467:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(exec_type, "dynamic");
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1094:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *snap_f = fopen(output_file, "w");
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1237:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DOMAIN_NAME_MAX];
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1686:16:  [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).
    int flib = mkstemp(lib_helper_name);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1980:21:  [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).
            fdtty = open("/dev/tty", O_RDWR);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2260:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char measure_dir_name[PATH_MAX];
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2341:18:  [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).
					int64_t p = atoi(xxstrdup(optarg));
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:2360:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				catalog_interval = atoi(optarg);
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:326:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(filename, "w");
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1246:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dir[PATH_MAX];
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1252:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *output = fopen(outlier, "w");
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1475:7:  [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).
	fo = fopen(filename, "w");
data/cctools-7.1.2/resource_monitor/src/resource_monitor_histograms.c:1596:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				omp_set_num_threads(atoi(optarg));
data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.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  name[MAX_LINE];
data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.c:194:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		flist = fopen(filename, "r");
data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.c:200:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char   file_summ[MAX_LINE];
data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.c:214: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).
		stream = fopen(file_summ, "r");
data/cctools-7.1.2/resource_monitor/src/rminimonitor_helper.c:66:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int fd = open(file_of_pids, O_WRONLY | O_APPEND | O_CREAT | O_DSYNC, 0660);
data/cctools-7.1.2/resource_monitor/src/rminimonitor_helper.c:116:7:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
pid_t vfork()
data/cctools-7.1.2/resource_monitor/src/rmonitor_file_watch.c:286:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            FILE *fp = fopen(f->filename, "r");
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:71:24:  [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).
declare_original_dlsym(open);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:101:24:  [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).
	define_original_dlsym(open);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.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 start_tmp[256];
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:176:7:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
pid_t vfork()
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:275:5:  [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(const char *path, int flags, ...)
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:152: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).
		low = atoi(lowstr);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.c:155: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).
		high = atoi(highstr);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.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 helper_absolute[PATH_MAX + 1];
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper_comm.h:46:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char     s[1024];
data/cctools-7.1.2/resource_monitor/test/msqrt.c:30: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).
		n = atoi(argv[1]);
data/cctools-7.1.2/work_queue/src/work_queue.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 workingdir[PATH_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:224:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char addrport[WORKER_ADDRPORT_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:225:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hashkey[WORKER_HASHKEY_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:516:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(key, "0x%p", link);
data/cctools-7.1.2/work_queue/src/work_queue.c:577:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char field[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:578:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char value[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:961:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1036:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirname[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1054:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(local_name, O_WRONLY | O_TRUNC | O_CREAT, 0777);
data/cctools-7.1.2/work_queue/src/work_queue.c:1108: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 line[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1142:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int errnum = atoi(errnum_str);
data/cctools-7.1.2/work_queue/src/work_queue.c:1197: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 digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/work_queue/src/work_queue.c:1198:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char payload_enc[PATH_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1245:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1308: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(remote_info, &local_info, sizeof(local_info));
data/cctools-7.1.2/work_queue/src/work_queue.c:1453:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *fs = fopen(summary, "r");
data/cctools-7.1.2/work_queue/src/work_queue.c:1709:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char items[4][WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1764:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1801:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(local_name,O_WRONLY|O_CREAT,0777);
data/cctools-7.1.2/work_queue/src/work_queue.c:1839:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char items[5][WORK_QUEUE_PROTOCOL_FIELD_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:1847: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).
	task_status = atoi(items[0]);
data/cctools-7.1.2/work_queue/src/work_queue.c:1848:18:  [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).
	exit_status   = atoi(items[1]);
data/cctools-7.1.2/work_queue/src/work_queue.c:1966:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2267:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char owner[USERNAME_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2358: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 address[LINK_ADDRESS_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2359: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 addrport[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2407:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char owner[USERNAME_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2459: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 address[LINK_ADDRESS_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2460: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 addrport[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2480: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 task_string[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2482:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(task_string, "current_task_%03d_id", n);
data/cctools-7.1.2/work_queue/src/work_queue.c:2485:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(task_string, "current_task_%03d_command", n);
data/cctools-7.1.2/work_queue/src/work_queue.c:2555:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char request[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2643:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char resource_name[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2687:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char feature[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2688:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fdec[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2710:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2711:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:2822:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(localname, O_RDONLY, 0);
data/cctools-7.1.2/work_queue/src/work_queue.c:2943: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(remote_info, &local_info, sizeof(local_info));
data/cctools-7.1.2/work_queue/src/work_queue.c:3002:6:  [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(expanded_name, "Cygwin");
data/cctools-7.1.2/work_queue/src/work_queue.c:3256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char remote_name_encoded[PATH_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:3267: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 remote_name_encoded[PATH_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:3612: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(&bres, &wres, sizeof(struct work_queue_resources));
data/cctools-7.1.2/work_queue/src/work_queue.c:4052: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(new, file, file_t_size);
data/cctools-7.1.2/work_queue/src/work_queue.c:4131: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(new, task, sizeof(*new));
data/cctools-7.1.2/work_queue/src/work_queue.c:4642: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(tf->payload, data, length);
data/cctools-7.1.2/work_queue/src/work_queue.c:4903: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).
			port = atoi(envstring);
data/cctools-7.1.2/work_queue/src/work_queue.c:4920: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 address[LINK_ADDRESS_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:5003:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DOMAIN_NAME_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:5040:33:  [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).
		q->monitor_file             = fopen(q->monitor_summary_filename, "a");
data/cctools-7.1.2/work_queue/src/work_queue.c:5102:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINK_ADDRESS_MAX];
data/cctools-7.1.2/work_queue/src/work_queue.c:5167:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hostport[DOMAIN_NAME_MAX + 8];
data/cctools-7.1.2/work_queue/src/work_queue.c:5174:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(hostport, "%d", port);
data/cctools-7.1.2/work_queue/src/work_queue.c:5301:18:  [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).
		int final_fd = mkstemp(template);
data/cctools-7.1.2/work_queue/src/work_queue.c:5302:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int summs_fd = open(q->monitor_summary_filename, O_RDONLY);
data/cctools-7.1.2/work_queue/src/work_queue.c:6383: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(s, qs, sizeof(*s));
data/cctools-7.1.2/work_queue/src/work_queue.c:6525: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(s, cs, sizeof(*s));
data/cctools-7.1.2/work_queue/src/work_queue.c:6576:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	q->logfile = fopen(logfile, "a");
data/cctools-7.1.2/work_queue/src/work_queue.c:6795:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	q->transactions_logfile =fopen(logfile, "a");
data/cctools-7.1.2/work_queue/src/work_queue_catalog.c:41: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).
	*port = atoi(colon + 1);
data/cctools-7.1.2/work_queue/src/work_queue_catalog.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hostport[DOMAIN_NAME_MAX + 8];
data/cctools-7.1.2/work_queue/src/work_queue_example.c:66: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 infile[256], outfile[256], command[1024];
data/cctools-7.1.2/work_queue/src/work_queue_json_example.c:38:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(filename, "r");
data/cctools-7.1.2/work_queue/src/work_queue_priority_test.c:47: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 infile[256], outfile[256], command[1024];
data/cctools-7.1.2/work_queue/src/work_queue_priority_test.c:50:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(infile, "/bin/sleep");
data/cctools-7.1.2/work_queue/src/work_queue_process.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 tmpdir_template[1024];
data/cctools-7.1.2/work_queue/src/work_queue_process.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 absolute[1024];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:211:17:  [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).
	p->output_fd = mkstemp(p->output_file_name);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:251:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int fd = open("/dev/null", O_RDONLY);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:290:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			FILE *script_fn = fopen(TMP_SCRIPT, "w");
data/cctools-7.1.2/work_queue/src/work_queue_process.c:296: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 uid_str[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:300:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char curr_wrk_dir[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char img_name[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:315:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char mnt_flg_val[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:318:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char run_cmd[SMALL_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:327:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char container_name[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:331:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char sub_proc_sh_fn[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char sub_proc_sh_fn_path[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.c:336:32:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				FILE *sub_proc_script_fn = fopen(sub_proc_sh_fn_path, "w");
data/cctools-7.1.2/work_queue/src/work_queue_process.c:341:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char run_sh_fn[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_process.h:52:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char container_id[MAX_BUFFER_SIZE];
data/cctools-7.1.2/work_queue/src/work_queue_status.c:261:18:  [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).
		*master_port = atoi(argv[optind]);
data/cctools-7.1.2/work_queue/src/work_queue_status.c:352:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_address[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_status.c:453:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char master_addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_status.c:511: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).
		int c = atoi(columns_str);
data/cctools-7.1.2/work_queue/src/work_queue_test.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 output_file[128];
data/cctools-7.1.2/work_queue/src/work_queue_test.c:31:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char input_file[128];
data/cctools-7.1.2/work_queue/src/work_queue_test.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 command[256];
data/cctools-7.1.2/work_queue/src/work_queue_test.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 gen_input_cmd[256];
data/cctools-7.1.2/work_queue/src/work_queue_test.c:35:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(input_file, "input.%d",ntasks);
data/cctools-7.1.2/work_queue/src/work_queue_test.c:47:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(output_file, "output.%d",ntasks);
data/cctools-7.1.2/work_queue/src/work_queue_test.c:48:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(command, "dd if=/dev/zero of=outfile bs=1048576 count=%d; sleep %d", output_size, run_time );
data/cctools-7.1.2/work_queue/src/work_queue_test.c:77:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[1024];
data/cctools-7.1.2/work_queue/src/work_queue_test.c:78:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char category[1024];
data/cctools-7.1.2/work_queue/src/work_queue_test.c:92:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(category, "default");
data/cctools-7.1.2/work_queue/src/work_queue_test_main.c:46: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).
			port = atoi(optarg);
data/cctools-7.1.2/work_queue/src/work_queue_test_main.c:77:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE *file = fopen(port_file,"w");
data/cctools-7.1.2/work_queue/src/work_queue_test_watch.c:34: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 output[256];
data/cctools-7.1.2/work_queue/src/work_queue_test_watch.c:35:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(output,"output.%d",i);
data/cctools-7.1.2/work_queue/src/work_queue_watcher.c:181: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).
				int fd = open(e->physical_path,O_RDONLY);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:147:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char host[DOMAIN_NAME_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.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 addr[DOMAIN_NAME_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.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 debug_msg[2*WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:334: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(total_resources, r, sizeof(struct work_queue_resources));
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:348:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fenc[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:444:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DOMAIN_NAME_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:680:49:  [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(p->loop_mount == 1 && (loop_full_check = fopen(disk_alloc_filename, "r"))) {
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:771:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dentline[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:772:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cached_filename[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:801:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(cached_filename, O_RDONLY, 0);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:898:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:899:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:900:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char localname[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:901:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char taskname[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:902:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char taskname_encoded[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:903:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char category[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1001:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cached_filename[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1031:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(cached_filename, O_WRONLY | O_CREAT | O_TRUNC, mode);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1050: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 command[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1065: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 url[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1068: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 cache_name[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1075:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cached_path[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1099:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cached_filename[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1160:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1161:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cached_filename[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1422:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1423:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1424:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1797:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char absolute[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1841:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *file = fopen(fname, "w");
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1956:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char local_addr[LINK_ADDRESS_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1973: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 line[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2149: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 digest[MD5_DIGEST_LENGTH];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2172:20:  [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).
		*manual_option = atoi(value);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2199: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).
				port = atoi(port_str+1);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2389:20:  [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).
				foreman_port = atoi(low_port);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2459: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 temp_abs_path[PATH_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2491: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).
				manual_cores_option = atoi(optarg);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2512:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				manual_gpus_option = atoi(optarg);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2516:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			manual_wall_time_option = atoi(optarg);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2604:52:  [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).
		int default_master_port = (argc - optind) == 2 ? atoi(argv[optind+1]) : 0;
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2645:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char temp_abs_path[PATH_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2663: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 foreman_string[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2701: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 load_cmd[1024];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2708: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 load_cmd[1024];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2714: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 container_mnt_point[1024];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2715: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 start_container_cmd[1024];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2802: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 stop_container_cmd[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2803: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 rm_container_cmd[WORK_QUEUE_LINE_MAX];
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:60:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((ch=fgetc(input_file)) != EOF) {
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:80:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((ch=fgetc(fp)) != EOF && line_count < line_number) {
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:595: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).
		outfile = (char *) malloc((strlen(infile)+8)*sizeof(char));
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:662:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char *sample_partition_file_prefix = (char *) malloc((strlen(outfile)+8) * sizeof(char));
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:665: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).
		char *sample_outfile = (char *) malloc((strlen(outfile)+3) * sizeof(char));
data/cctools-7.1.2/apps/wq_sort/wq_sort.c:717:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *record_task_times_file = (char *)malloc((strlen(outfile)+11) * sizeof(char));
data/cctools-7.1.2/batch_job/src/batch_file.c:193: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).
			sha1_buffer(hash_sum, strlen(hash_sum), hash);
data/cctools-7.1.2/batch_job/src/batch_job.c:98:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
	strncpy(q->logfile, "", sizeof(q->logfile));
data/cctools-7.1.2/batch_job/src/batch_job.c:169:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(q->logfile, logfile, sizeof(q->logfile));
data/cctools-7.1.2/batch_job/src/batch_job_amazon_batch.c:265:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	fwrite(final_cmd,sizeof(char),strlen(final_cmd),tmpfile);
data/cctools-7.1.2/batch_job/src/batch_job_blue_waters.c:172: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(line)) {
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:98: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(file))
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:107: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(file))
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:154: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).
		assert(strlen(status) == (size_t)result);
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:271:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			char *hostportroot = xxstrdup(value+strlen("chirp://"));
data/cctools-7.1.2/batch_job/src/batch_job_chirp.c:308:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, getroot(q), size);
data/cctools-7.1.2/batch_job/src/batch_job_cluster.c:257: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(line)) {
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:178: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).
		char *opt_expanded = malloc(2 * strlen(options) + 1);
data/cctools-7.1.2/batch_job/src/batch_job_condor.c:361:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(q->logfile, "condor.logfile", sizeof(q->logfile));
data/cctools-7.1.2/batch_job/src/batch_job_dryrun.c:160:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t pathlength = strlen(cwd);
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:174: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).
		mem_str_dup[strlen(mem_str_dup) - 2] = '\0';	
data/cctools-7.1.2/batch_job/src/batch_job_k8s.c:672:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(q->logfile, "k8s.log", sizeof(q->logfile));
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:199: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 (extra_input_files != NULL && strlen(extra_input_files) != 0) {
data/cctools-7.1.2/batch_job/src/batch_job_mesos.c:212: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 (extra_output_files != NULL && strlen(extra_output_files) != 0) {
data/cctools-7.1.2/batch_job/src/batch_job_mpi.c:81: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).
	MPI_Send(str, strlen(str), MPI_CHAR, rank, 0, MPI_COMM_WORLD);
data/cctools-7.1.2/batch_job/src/batch_job_mpi.c:306: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(sleep_time);
data/cctools-7.1.2/batch_job/src/batch_job_mpi.c:595:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(sleep_time);
data/cctools-7.1.2/batch_job/src/batch_job_work_queue.c:158: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).
				fwrite(t->output, strlen(t->output), 1, file);
data/cctools-7.1.2/batch_job/src/batch_job_work_queue.c:186:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(q->logfile, "wq.log", sizeof(q->logfile));
data/cctools-7.1.2/batch_job/src/batch_task.c:175: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).
	sha1_update(&context, t->command, strlen(t->command));
data/cctools-7.1.2/batch_job/src/batch_task.c:193: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).
		sha1_update(&context, f->outer_name, strlen(f->outer_name));
data/cctools-7.1.2/batch_job/src/batch_task.c:195: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).
		sha1_update(&context, file_id, strlen(file_id));
data/cctools-7.1.2/batch_job/src/batch_task.c:208: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).
		sha1_update(&context, f->outer_name, strlen(f->outer_name));
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:127: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).
	write(1,msg,strlen(msg));
data/cctools-7.1.2/batch_job/src/work_queue_factory.c:703: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(!new_project_regex || strlen(new_project_regex) == 0) {
data/cctools-7.1.2/chirp/src/chirp_acl.c:141: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(strncmp(dirname, where, strlen(where)) == 0) {
data/cctools-7.1.2/chirp/src/chirp_acl.c:142: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(where) > longest) {
data/cctools-7.1.2/chirp/src/chirp_acl.c:143: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).
					longest = strlen(where);
data/cctools-7.1.2/chirp/src/chirp_acl.c:564: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).
			assert(strlen(path));
data/cctools-7.1.2/chirp/src/chirp_acl.c:712:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(dirpath,"/");
data/cctools-7.1.2/chirp/src/chirp_acl.c:718: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(default_acl) ? cfs_fopen_local(default_acl, "r") : NULL;
data/cctools-7.1.2/chirp/src/chirp_acl.c:751: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(text, "r");
data/cctools-7.1.2/chirp/src/chirp_acl.c:753: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(text, "w");
data/cctools-7.1.2/chirp/src/chirp_acl.c:755: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(text, "l");
data/cctools-7.1.2/chirp/src/chirp_acl.c:757: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(text, "d");
data/cctools-7.1.2/chirp/src/chirp_acl.c:759: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(text, "p");
data/cctools-7.1.2/chirp/src/chirp_acl.c:761: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(text, "a");
data/cctools-7.1.2/chirp/src/chirp_acl.c:763: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(text, "x");
data/cctools-7.1.2/chirp/src/chirp_acl.c:765: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(text, "v");
data/cctools-7.1.2/chirp/src/chirp_acl.c:766: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(text, "(");
data/cctools-7.1.2/chirp/src/chirp_acl.c:768:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "r");
data/cctools-7.1.2/chirp/src/chirp_acl.c:770:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "w");
data/cctools-7.1.2/chirp/src/chirp_acl.c:772:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "l");
data/cctools-7.1.2/chirp/src/chirp_acl.c:774:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "d");
data/cctools-7.1.2/chirp/src/chirp_acl.c:776:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "p");
data/cctools-7.1.2/chirp/src/chirp_acl.c:778:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "v");
data/cctools-7.1.2/chirp/src/chirp_acl.c:780:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "a");
data/cctools-7.1.2/chirp/src/chirp_acl.c:782:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "x");
data/cctools-7.1.2/chirp/src/chirp_acl.c:783: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(text, ")");
data/cctools-7.1.2/chirp/src/chirp_acl.c:787:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(text, "n");
data/cctools-7.1.2/chirp/src/chirp_acl.h:15: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).
#define CHIRP_ACL_BASE_LENGTH (strlen(CHIRP_ACL_BASE_NAME))
data/cctools-7.1.2/chirp/src/chirp_alloc.c:149: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).
		int64_t result = cfs->pwrite(s->fd, buffer, strlen(buffer), 0);
data/cctools-7.1.2/chirp/src/chirp_alloc.c:150: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).
		assert(result == (int64_t) strlen(buffer));
data/cctools-7.1.2/chirp/src/chirp_alloc.c:166: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).
		int64_t result = cfs->pwrite(fd, buffer, strlen(buffer), 0);
data/cctools-7.1.2/chirp/src/chirp_alloc.c:167: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).
		assert(result == (int64_t) strlen(buffer));
data/cctools-7.1.2/chirp/src/chirp_client.c:968: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(fstr, "w");
data/cctools-7.1.2/chirp/src/chirp_client.c:972: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(fstr, "r");
data/cctools-7.1.2/chirp/src/chirp_client.c:976: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(fstr, "c");
data/cctools-7.1.2/chirp/src/chirp_client.c:978: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(fstr, "t");
data/cctools-7.1.2/chirp/src/chirp_client.c:980: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(fstr, "a");
data/cctools-7.1.2/chirp/src/chirp_client.c:982: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(fstr, "x");
data/cctools-7.1.2/chirp/src/chirp_client.c:985: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(fstr, "s");
data/cctools-7.1.2/chirp/src/chirp_client.c:1664:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			n += strlen(line);
data/cctools-7.1.2/chirp/src/chirp_client.c:1680: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(current)) {
data/cctools-7.1.2/chirp/src/chirp_client.c:1687: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).
			length = strlen(current);
data/cctools-7.1.2/chirp/src/chirp_client.c:1690:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(*result, current, length);
data/cctools-7.1.2/chirp/src/chirp_client.c:1720:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(search->entry.path, result, CHIRP_PATH_MAX - 1);
data/cctools-7.1.2/chirp/src/chirp_client.c:1730:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(search->entry.path, result, CHIRP_PATH_MAX - 1);
data/cctools-7.1.2/chirp/src/chirp_client.c:1985:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(json);
data/cctools-7.1.2/chirp/src/chirp_client.c:2013:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(json);
data/cctools-7.1.2/chirp/src/chirp_client.c:2036:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(json);
data/cctools-7.1.2/chirp/src/chirp_client.c:2059:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(json);
data/cctools-7.1.2/chirp/src/chirp_client.c:2126:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(json);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:409: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(m_servers[j].name) > strlen(temp_sever.name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:409: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(strlen(m_servers[j].name) > strlen(temp_sever.name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:410: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).
					length = strlen(temp_sever.name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:412: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).
					length = strlen(m_servers[j].name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:441: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(m_servers[j].name) > strlen(temp_sever.name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:441: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(strlen(m_servers[j].name) > strlen(temp_sever.name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:442: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).
					length = strlen(temp_sever.name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:444: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).
					length = strlen(m_servers[j].name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:556:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if(strlen(temp) > 10)
data/cctools-7.1.2/chirp/src/chirp_distribute.c:558: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).
			for(i = 0; i < (int) strlen(temp); i++) {
data/cctools-7.1.2/chirp/src/chirp_distribute.c:597: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(servers[j].name) > strlen(targets[0].name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:597:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if(strlen(servers[j].name) > strlen(targets[0].name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:598: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).
			length = strlen(targets[0].name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:600: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).
			length = strlen(servers[j].name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:622:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if(strlen(servers[j].name) > strlen(targets[i].name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:622:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if(strlen(servers[j].name) > strlen(targets[i].name))
data/cctools-7.1.2/chirp/src/chirp_distribute.c:623:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				length = strlen(targets[i].name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:625:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				length = strlen(servers[j].name);
data/cctools-7.1.2/chirp/src/chirp_distribute.c:675: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(!strncmp(targets[target].name, sourcehost, strlen(sourcehost)))
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:52:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			char read[CHIRP_FILESYSTEM_BUFFER];
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:137:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	memset(file->f.cfile.read, '\0', sizeof(file->f.cfile.read));
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:137:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	memset(file->f.cfile.read, '\0', sizeof(file->f.cfile.read));
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:256:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(i + 2 >= n || file->f.cfile.read[i] == '\n') {	/* we got data now */
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:257:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			memcpy(s, file->f.cfile.read, i + 1);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:259:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			memmove(file->f.cfile.read, file->f.cfile.read + i + 1, (file->f.cfile.read_n -= i + 1));
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:262:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	memcpy(current, file->f.cfile.read, i);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:267:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	i = cfs->pread(file->f.cfile.fd, file->f.cfile.read, CHIRP_FILESYSTEM_BUFFER - 1, file->f.cfile.offset);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:302: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).
	temp = malloc(strlen(path) + 1);
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:651:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(atom, pattern, (size_t) (end - pattern));
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:694:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(atom, pattern, (size_t) (end - pattern));
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:726: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(pattern) == 0)
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:738: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).
	char *current = fullpath + strlen(fullpath);	/* point to end to current directory */
data/cctools-7.1.2/chirp/src/chirp_filesystem.c:824:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return search_directory(subject, fullpath + strlen(fullpath), fullpath, pattern, flags, l, stoptime);
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:58: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).
	strcpy(chirp_hostport, url+strlen("chirp://"));
data/cctools-7.1.2/chirp/src/chirp_fs_chirp.c:64:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(chirp_root, "/");
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:60:28:  [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.
		} while (rc == EAGAIN && usleep(10000) == 0);\
data/cctools-7.1.2/chirp/src/chirp_fs_confuga.c:158:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(open_files[fd].path, path, sizeof(open_files[fd].path)-1);
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:111: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).
	strcpy(hdfs_host, url+strlen("hdfs://"));
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:118:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(hdfs_root, "/");
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:121: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(hdfs_host) == 0) {
data/cctools-7.1.2/chirp/src/chirp_fs_hdfs.c:261: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).
		name += strlen(name);	/* now points to nul byte */
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:258:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(basename, ""); /* mark as incomplete */
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:264: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).
				memmove(working, slash, strlen(slash)+1);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:272: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).
				memmove(working, slash, strlen(slash)+1);
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:279:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(basename, "."); /* refer to dirfd itself */
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:285:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(working, "");
data/cctools-7.1.2/chirp/src/chirp_fs_local.c:420:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		rc = read(lfd, buffer, length);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:146:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(50);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:148:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(50);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:150:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(50);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:236:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(serv_path)+sizeof(digest)*2 < CHIRP_PATH_MAX) {
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:238:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					memmove(mark+sizeof(digest)*2, mark+2, strlen(mark+2)+1);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:257:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(serv_path)+strlen(str) < CHIRP_PATH_MAX) {
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:257: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 (strlen(serv_path)+strlen(str) < CHIRP_PATH_MAX) {
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:258: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).
					memmove(mark+strlen(str), mark+2, strlen(mark+2)+1);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:258:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					memmove(mark+strlen(str), mark+2, strlen(mark+2)+1);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:259: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).
					memcpy(mark, str, strlen(str));
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:260: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).
					mark += strlen(str);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:314:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
			strncpy(url->path, "", sizeof(url->path));
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:325:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(serv_path_interpolated, serv_path, sizeof(serv_path_interpolated)-1);
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:610: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(*env, name, strlen(name)) == 0 && (*env)[strlen(name)] == '=')
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:610:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncmp(*env, name, strlen(name)) == 0 && (*env)[strlen(name)] == '=')
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:611: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).
			return &(*env)[strlen(name)+1];
data/cctools-7.1.2/chirp/src/chirp_fs_local_scheduler.c:1121: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(50000);
data/cctools-7.1.2/chirp/src/chirp_fuse.c:55:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(host, "/");
data/cctools-7.1.2/chirp/src/chirp_fuse.c:56:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(newpath, "/");
data/cctools-7.1.2/chirp/src/chirp_fuse.c:61:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(newpath, "/");	/* path = "/host[:port]" ; no final slash */
data/cctools-7.1.2/chirp/src/chirp_fuse.c:65:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(host, "/");
data/cctools-7.1.2/chirp/src/chirp_global.c:94:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(mpath, "/");
data/cctools-7.1.2/chirp/src/chirp_job.c:193:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(stmt) > limit) {
data/cctools-7.1.2/chirp/src/chirp_job.c:411: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(serv_path->u.string.ptr) >= CHIRP_PATH_MAX)
data/cctools-7.1.2/chirp/src/chirp_job.c:426: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(task_path->u.string.ptr) >= CHIRP_PATH_MAX)
data/cctools-7.1.2/chirp/src/chirp_job.c:441: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).
	assert(strlen(current) == 0);
data/cctools-7.1.2/chirp/src/chirp_job.c:450: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(2000);
data/cctools-7.1.2/chirp/src/chirp_job.c:533: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(2000);
data/cctools-7.1.2/chirp/src/chirp_job.c:618: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(2000);
data/cctools-7.1.2/chirp/src/chirp_job.c:736: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(2000);
data/cctools-7.1.2/chirp/src/chirp_job.c:833:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(5000);
data/cctools-7.1.2/chirp/src/chirp_job.c:867: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(2000);
data/cctools-7.1.2/chirp/src/chirp_job.c:945: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).
	assert(strlen(current) == 0);
data/cctools-7.1.2/chirp/src/chirp_job.c:954: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(2000);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:104:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(hosts[i]);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:132: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).
		sprintf(&line[strlen(line)], "%s %s/data.%d\n", datahost, datapath3, i);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:142:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	result = chirp_reli_putfile_buffer(host, path, line, 0700, strlen(line), stoptime);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:144: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).
		for(i = 1; i < strlen(metapath); i++)
data/cctools-7.1.2/chirp/src/chirp_matrix.c:154:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		result = chirp_reli_putfile_buffer(host, path, line, 0700, strlen(line), stoptime);
data/cctools-7.1.2/chirp/src/chirp_matrix.c:385:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *matpathdir = xxmalloc((strlen(path) + 1) * sizeof(char));
data/cctools-7.1.2/chirp/src/chirp_matrix.c:387:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for(j = 1; j < (int) strlen(matpathdir); j++)
data/cctools-7.1.2/chirp/src/chirp_matrix.c:403: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).
		matpathdir = xxmalloc((strlen(fpath) + 1) * sizeof(char));
data/cctools-7.1.2/chirp/src/chirp_matrix.c:405: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).
		for(j = 1; j < (int) strlen(matpathdir); j++)
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:303:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t last = strlen(setBfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:315: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).
			size_t last = strlen(setAfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:347:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				size_t last = strlen(setAfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:356: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).
			size_t last = strlen(setBfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:434: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(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:436: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(local_path[strlen(local_path) - 1] != '/')
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:437:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:443: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(local_path[strlen(local_path) - 1] != '/')
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:444:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:466: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).
	for(i = 0; i < strlen(path); i++) {
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:476: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).
	while(i < strlen(path)) {
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:494: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(local_path[strlen(local_path) - 1] != '/')
data/cctools-7.1.2/chirp/src/chirp_matrix_roc.c:495:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:551:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t last = strlen(setBfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:568: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).
			size_t last = strlen(setAfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:597:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				size_t last = strlen(setAfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:605: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).
			size_t last = strlen(setBfilename) - 1;
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:630: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(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:632: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(local_path[strlen(local_path) - 1] != '/')
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:633:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:639: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(local_path[strlen(local_path) - 1] != '/')
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:640:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:662: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).
	for(i = 0; i < strlen(path); i++) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:672: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).
	while(i < strlen(path)) {
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:690: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(local_path[strlen(local_path) - 1] != '/')
data/cctools-7.1.2/chirp/src/chirp_matrix_verify.c:691:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(local_path, "/");
data/cctools-7.1.2/chirp/src/chirp_multi.c:268:84:  [1] (buffer) strlen:
  Does not handle 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 chirp_reli_putfile_buffer(current_volume->host, info->lpath, buffer, 0700, strlen(buffer), stoptime);
data/cctools-7.1.2/chirp/src/chirp_server.c:232: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(chirp_project_name)) {
data/cctools-7.1.2/chirp/src/chirp_server.c:300:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ssize_t length = read(fd, line, PIPE_BUF);
data/cctools-7.1.2/chirp/src/chirp_server.c:584: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(line) < 1)
data/cctools-7.1.2/chirp/src/chirp_server.c:675:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			result = buffer_putlstring(B, esubject, MIN((size_t)length, strlen(esubject)));
data/cctools-7.1.2/chirp/src/chirp_server.c:1290:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				buffer_putfstring(B, "%zu\n%s%zu\n%s%llu\n", strlen(ticket_esubject), ticket_esubject, strlen(ticket), ticket, (unsigned long long) expiration);
data/cctools-7.1.2/chirp/src/chirp_server.c:1290:92:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				buffer_putfstring(B, "%zu\n%s%zu\n%s%llu\n", strlen(ticket_esubject), ticket_esubject, strlen(ticket), ticket, (unsigned long long) expiration);
data/cctools-7.1.2/chirp/src/chirp_server.c:1316: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).
					buffer_putfstring(B, "%zu\n%s", strlen(ts[0]), ts[0]);
data/cctools-7.1.2/chirp/src/chirp_server.c:1529:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(line, "\n");
data/cctools-7.1.2/chirp/src/chirp_server.c:1530: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).
			write(config_pipe[1], line, strlen(line));
data/cctools-7.1.2/chirp/src/chirp_server.c:1970:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0077);
data/cctools-7.1.2/chirp/src/chirp_server.c:2013:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(chirp_group_base_url, optarg, sizeof(chirp_group_base_url)-1);
data/cctools-7.1.2/chirp/src/chirp_server.c:2043: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(optarg) >= sizeof(chirp_url))
data/cctools-7.1.2/chirp/src/chirp_server.c:2105:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(chirp_project_name, optarg, sizeof(chirp_project_name)-1);
data/cctools-7.1.2/chirp/src/chirp_server.c:2122:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0077);
data/cctools-7.1.2/chirp/src/chirp_server.c:2211: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(port_file))
data/cctools-7.1.2/chirp/src/chirp_stats.c:119: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).
		write(pipefd, line, strlen(line));
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:171:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int length = strlen(buffer);
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:182:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int length = strlen(buffer);
data/cctools-7.1.2/chirp/src/chirp_stream_files.c:200: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).
					length = strlen(buffer);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:90: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 l = strlen(ticket);
data/cctools-7.1.2/chirp/src/chirp_ticket.c:115:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if(strncmp(buffer, "subject", strlen("subject")) == 0) {
data/cctools-7.1.2/chirp/src/chirp_ticket.c:116: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).
			buffer += strlen("subject");
data/cctools-7.1.2/chirp/src/chirp_ticket.c:122: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).
		} else if(strncmp(buffer, "ticket", strlen("ticket")) == 0) {
data/cctools-7.1.2/chirp/src/chirp_ticket.c:123: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).
			buffer += strlen("ticket");
data/cctools-7.1.2/chirp/src/chirp_ticket.c:129: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).
		} else if(strncmp(buffer, "expiration", strlen("expiration")) == 0) {
data/cctools-7.1.2/chirp/src/chirp_ticket.c:130: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).
			buffer += strlen("expiration");
data/cctools-7.1.2/chirp/src/chirp_ticket.c:139: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).
		} else if(strncmp(buffer, "rights", strlen("rights")) == 0) {
data/cctools-7.1.2/chirp/src/chirp_ticket.c:140: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).
			buffer += strlen("rights");
data/cctools-7.1.2/chirp/src/chirp_ticket.c:178: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).
	md5_update(&context, (const unsigned char *) pk, strlen(pk));
data/cctools-7.1.2/chirp/src/chirp_ticket.c:206:119:  [1] (buffer) strlen:
  Does not handle 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((sscanf(ticket_filename, TICKET_FILENAME_SCAN, &n1, buffer, &n2) == 1) && ((n2 - n1) == TICKET_DIGEST_LENGTH) && (strlen(ticket_filename) == (size_t) n2)) {
data/cctools-7.1.2/chirp/src/chirp_ticket.c:219:117:  [1] (buffer) strlen:
  Does not handle 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((sscanf(ticket_subject, TICKET_SUBJECT_SCAN, &n1, buffer, &n2) == 1) && ((n2 - n1) == TICKET_DIGEST_LENGTH) && (strlen(ticket_subject) == (size_t) n2)) {
data/cctools-7.1.2/chirp/src/chirp_ticket.c:233: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).
	md5_update(&context, (const unsigned char *) pk, strlen(pk));
data/cctools-7.1.2/chirp/src/chirp_tool.c:114:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(current_remote_dir, "/");
data/cctools-7.1.2/chirp/src/chirp_tool.c:280:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(name, argv[++i], CHIRP_PATH_MAX);
data/cctools-7.1.2/chirp/src/chirp_tool.c:387: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).
		b64_encode(ticket, strlen(ticket), B);
data/cctools-7.1.2/chirp/src/chirp_tool.c:1019:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for(current = data; *current; current = current + strlen(current) + 1) {
data/cctools-7.1.2/chirp/src/chirp_tool.c:1020: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).
			write(STDOUT_FILENO, current, strlen(current));
data/cctools-7.1.2/chirp/src/chirp_tool.c:1042:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if((size = chirp_reli_setxattr(current_host, full_path, argv[2], argv[3], strlen(argv[3]), 0, stoptime)) >= 0) {
data/cctools-7.1.2/chirp/src/chirp_tool.c:1334: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).
			char *start = line, *last = strlen(line) + line;
data/cctools-7.1.2/chirp/src/chirp_tool.c:1340: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).
					end = start + strlen(start);
data/cctools-7.1.2/chirp/src/confuga.c:81:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(stmt) > limit) {
data/cctools-7.1.2/chirp/src/confuga.c:116: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).
			if ((buffer_pos(B)+strlen(url)) >= CHIRP_PATH_MAX)
data/cctools-7.1.2/chirp/src/confuga.c:618: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(1000000);
data/cctools-7.1.2/chirp/src/confuga.c:725:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(rest)) {
data/cctools-7.1.2/chirp/src/confuga.c:805: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).
	sqlcatch(sqlite3_prepare_v2(db, current, strlen(current)+1, &stmt, &current));
data/cctools-7.1.2/chirp/src/confuga.c:947: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).
	sqlcatch(sqlite3_prepare_v2(db, current, strlen(current)+1, &stmt, &current));
data/cctools-7.1.2/chirp/src/confuga_job.c:1308: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).
	assert(strlen(status) == (size_t)rc);
data/cctools-7.1.2/chirp/src/confuga_job.c:1311: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).
	J = json_parse(status, strlen(status));
data/cctools-7.1.2/chirp/src/confuga_namespace.c:122:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(basename, ""); /* mark as incomplete */
data/cctools-7.1.2/chirp/src/confuga_namespace.c:128: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).
				memmove(working, slash, strlen(slash)+1);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:136: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).
				memmove(working, slash, strlen(slash)+1);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:143:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(basename, "."); /* refer to dirfd itself */
data/cctools-7.1.2/chirp/src/confuga_namespace.c:149:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(working, "");
data/cctools-7.1.2/chirp/src/confuga_namespace.c:264:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp(current, "file:", strlen("file:")) == 0)
data/cctools-7.1.2/chirp/src/confuga_namespace.c:266: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).
	else if (strncmp(current, "meta:", strlen("meta:")) == 0)
data/cctools-7.1.2/chirp/src/confuga_namespace.c:391:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	n = read(fd, header, HEADER_LENGTH);
data/cctools-7.1.2/chirp/src/confuga_namespace.c:397: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).
	if (!(strncmp(current, "meta:", strlen("meta:")) == 0))
data/cctools-7.1.2/chirp/src/confuga_namespace.c:414:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	n = read(fd, *data, *size);
data/cctools-7.1.2/chirp/src/confuga_node.c:135:11:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			} else strcpy(hostport, "");
data/cctools-7.1.2/chirp/src/confuga_node.c:632: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).
	root = !root || strlen(root) == 0 ? CONFUGA_SN_ROOT_DEFAULT : root;
data/cctools-7.1.2/chirp/src/confuga_node.c:639: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).
		sha1_buffer(password, strlen(password), digest);
data/cctools-7.1.2/chirp/src/confuga_node.c:668: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).
	root = !root || strlen(root) == 0 ? CONFUGA_SN_ROOT_DEFAULT : root;
data/cctools-7.1.2/chirp/src/confuga_node.c:675: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).
		sha1_buffer(password, strlen(password), digest);
data/cctools-7.1.2/chirp/src/confuga_replica.c:437:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
	strncpy(file->path, "", sizeof(file->path));
data/cctools-7.1.2/chirp/src/confuga_replica.c:972: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).
	J = json_parse(tjids, strlen(tjids));
data/cctools-7.1.2/chirp/src/confuga_replica.c:1094: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).
	assert(strlen(status) == (size_t)rc);
data/cctools-7.1.2/chirp/src/confuga_replica.c:1097: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).
	J = json_parse(status, strlen(status));
data/cctools-7.1.2/chirp/src/confuga_replica.c:1215: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).
	J = json_parse(tjids, strlen(tjids));
data/cctools-7.1.2/chirp/src/sqlite3.c:25553:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  { "read",         (sqlite3_syscall_ptr)read,       0  },
data/cctools-7.1.2/chirp/src/sqlite3.c:26069: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).
  n = (int)strlen(zAbsoluteName);
data/cctools-7.1.2/chirp/src/sqlite3.c:28696: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(ii=(int)strlen(zDirname); ii>1 && zDirname[ii]!='/'; ii--);
data/cctools-7.1.2/chirp/src/sqlite3.c:29442: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).
    nShmFilename = 6 + (int)strlen(pDbFd->zPath);
data/cctools-7.1.2/chirp/src/sqlite3.c:30520: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).
    nFilename = (int)strlen(zFilename) + 6;
data/cctools-7.1.2/chirp/src/sqlite3.c:30629: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(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){
data/cctools-7.1.2/chirp/src/sqlite3.c:30629: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).
  if( (strlen(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){
data/cctools-7.1.2/chirp/src/sqlite3.c:30635: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).
    j = (int)strlen(zBuf);
data/cctools-7.1.2/chirp/src/sqlite3.c:30908: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).
    assert( (flags & SQLITE_OPEN_URI) || zName[strlen(zName)+1]==0 );
data/cctools-7.1.2/chirp/src/sqlite3.c:30921: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).
    assert( zName[strlen(zName)+1]==0 );
data/cctools-7.1.2/chirp/src/sqlite3.c:31198: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).
    nCwd = (int)strlen(zOut);
data/cctools-7.1.2/chirp/src/sqlite3.c:31327: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(microseconds);
data/cctools-7.1.2/chirp/src/sqlite3.c:31621: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).
  dbLen = (int)strlen(dbPath);
data/cctools-7.1.2/chirp/src/sqlite3.c:31642: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 = (int)strlen(lockPath);
data/cctools-7.1.2/chirp/src/sqlite3.c:31897:9:  [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(500000); /* wait 0.5 sec and try the lock again*/
data/cctools-7.1.2/chirp/src/sqlite3.c:31923:9:  [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(10000000); /* wait 10 sec and try the lock again */
data/cctools-7.1.2/chirp/src/sqlite3.c:32070: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).
        writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
data/cctools-7.1.2/chirp/src/sqlite3.c:32201:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
data/cctools-7.1.2/chirp/src/sqlite3.c:32227:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( (int)strlen(conchPath) == len+7 );
data/cctools-7.1.2/chirp/src/sqlite3.c:32277: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).
    assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/cctools-7.1.2/chirp/src/sqlite3.c:32284:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/cctools-7.1.2/chirp/src/sqlite3.c:32284: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).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/cctools-7.1.2/chirp/src/sqlite3.c:32288: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).
    assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/cctools-7.1.2/chirp/src/sqlite3.c:117659: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).
  assert( zAff==0 || (int)strlen(zAff)>=nEq );
data/cctools-7.1.2/chirp/src/sqlite3.c:132109: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).
  nRet = 2 + (int)strlen(zInput)*2 + 1;
data/cctools-7.1.2/chirp/src/sqlite3.c:132365: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).
      nStr += (int)strlen(zCol) + 1;
data/cctools-7.1.2/chirp/src/sqlite3.c:132376:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = (int)strlen(zCol)+1;
data/cctools-7.1.2/chirp/src/sqlite3.c:132442: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).
  assert( strlen(argv[0])==4 );
data/cctools-7.1.2/chirp/src/sqlite3.c:132447: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).
  nDb = (int)strlen(argv[1]) + 1;
data/cctools-7.1.2/chirp/src/sqlite3.c:132448: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).
  nName = (int)strlen(argv[2]) + 1;
data/cctools-7.1.2/chirp/src/sqlite3.c:132482: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).
     && strlen(z)>8
data/cctools-7.1.2/chirp/src/sqlite3.c:132521:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if( strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){
data/cctools-7.1.2/chirp/src/sqlite3.c:132547: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(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) 
data/cctools-7.1.2/chirp/src/sqlite3.c:132548:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) 
data/cctools-7.1.2/chirp/src/sqlite3.c:132581: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).
      nString += (int)(strlen(z) + 1);
data/cctools-7.1.2/chirp/src/sqlite3.c:132704:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = (int)strlen(p->azColumn[iCol]);
data/cctools-7.1.2/chirp/src/sqlite3.c:132707: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( zNot && n==(int)strlen(zNot)
data/cctools-7.1.2/chirp/src/sqlite3.c:137213: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).
  nDb = (int)strlen(zDb);
data/cctools-7.1.2/chirp/src/sqlite3.c:137217: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).
      nDb = (int)strlen(zDb);
data/cctools-7.1.2/chirp/src/sqlite3.c:137225: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).
  nFts3 = (int)strlen(zFts3);
data/cctools-7.1.2/chirp/src/sqlite3.c:138208:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nStr = (int)strlen(zStr);
data/cctools-7.1.2/chirp/src/sqlite3.c:138642: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).
    n = (int)strlen(z);
data/cctools-7.1.2/chirp/src/sqlite3.c:139066:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if( nKey<=0 ) nKey = (int) strlen(z);
data/cctools-7.1.2/chirp/src/sqlite3.c:139455: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).
    c->nInput = (int)strlen(zInput);
data/cctools-7.1.2/chirp/src/sqlite3.c:139917: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).
  *pnOut = i = (int)strlen(z);
data/cctools-7.1.2/chirp/src/sqlite3.c:140175: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).
  zEnd = &zCopy[strlen(zCopy)];
data/cctools-7.1.2/chirp/src/sqlite3.c:140181:68:  [1] (buffer) strlen:
  Does not handle 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 = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash,z,(int)strlen(z)+1);
data/cctools-7.1.2/chirp/src/sqlite3.c:140580:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int i, n = (int)strlen(argv[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:140632: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).
    c->nBytes = (int)strlen(pInput);
data/cctools-7.1.2/chirp/src/sqlite3.c:140823:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nName = (int)strlen(zName);
data/cctools-7.1.2/chirp/src/sqlite3.c:140861: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).
      nByte += (int)(strlen(argv[i]) + 1);
data/cctools-7.1.2/chirp/src/sqlite3.c:140870:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = (int)strlen(argv[i]);
data/cctools-7.1.2/chirp/src/sqlite3.c:147348: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).
    nAppend = (int)strlen(zAppend);
data/cctools-7.1.2/chirp/src/sqlite3.c:148026: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).
    nArg = (int)strlen(zArg);
data/cctools-7.1.2/chirp/src/sqlite3.c:148613:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = (int)strlen(z);
data/cctools-7.1.2/chirp/src/sqlite3.c:148665: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).
    pCsr->nInput = (int)strlen(aInput);
data/cctools-7.1.2/chirp/src/sqlite3.c:150715: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).
                || (idxStr && (int)strlen(idxStr)==argc*2) );
data/cctools-7.1.2/chirp/src/sqlite3.c:152323: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).
  nDb = (int)strlen(argv[1]);
data/cctools-7.1.2/chirp/src/sqlite3.c:152324: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).
  nName = (int)strlen(argv[2]);
data/cctools-7.1.2/chirp/src/sqlite3.c:152421: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).
    nCell = (int)strlen(zCell);
data/cctools-7.1.2/chirp/src/sqlite3.c:152430: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).
      nCell = (int)strlen(zCell);
data/cctools-7.1.2/chirp/src/sqlite3.c:153176:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(argv[0])+1;
data/cctools-7.1.2/chirp/src/sqlite3.c:153232: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).
    nInput = strlen(zInput);
data/cctools-7.1.2/dttools/src/auth_kerberos.c:47: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).
		cksum.length = strlen(dname);
data/cctools-7.1.2/dttools/src/auth_kerberos.c:164:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
							strncpy(myrealm, principal->realm.data, principal->realm.length);
data/cctools-7.1.2/dttools/src/auth_kerberos.c:167:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
							strncpy(userrealm, ticket->enc_part2->client->realm.data, ticket->enc_part2->client->realm.length);
data/cctools-7.1.2/dttools/src/auth_kerberos.c:170:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
							strncpy(username, ticket->enc_part2->client->data->data, ticket->enc_part2->client->data->length);
data/cctools-7.1.2/dttools/src/auth_ticket.c:193: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).
		} else if(strlen(line) == MD5_DIGEST_LENGTH_HEX) {
data/cctools-7.1.2/dttools/src/auth_ticket.c:241: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).
						CATCHUNIX(full_write(tmpfd, ticket, strlen(ticket)));
data/cctools-7.1.2/dttools/src/auth_ticket.c:249:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
						strcpy(tmpf, "");
data/cctools-7.1.2/dttools/src/auth_ticket.c:319: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).
		for(start = end = tickets; start < tickets + strlen(tickets); start = ++end) {
data/cctools-7.1.2/dttools/src/auth_ticket.c:326:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(value, start, end - start);
data/cctools-7.1.2/dttools/src/auth_ticket.c:338: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(strncmp(list[i], "ticket.", strlen("ticket.")) == 0 && (strlen(list[i]) == (strlen("ticket.") + (MD5_DIGEST_LENGTH << 1)))) {
data/cctools-7.1.2/dttools/src/auth_ticket.c:338:63:  [1] (buffer) strlen:
  Does not handle 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(list[i], "ticket.", strlen("ticket.")) == 0 && (strlen(list[i]) == (strlen("ticket.") + (MD5_DIGEST_LENGTH << 1)))) {
data/cctools-7.1.2/dttools/src/auth_ticket.c:338:83:  [1] (buffer) strlen:
  Does not handle 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(list[i], "ticket.", strlen("ticket.")) == 0 && (strlen(list[i]) == (strlen("ticket.") + (MD5_DIGEST_LENGTH << 1)))) {
data/cctools-7.1.2/dttools/src/bitmap.c:350:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		b = fgetc(file);
data/cctools-7.1.2/dttools/src/bitmap.c:351:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		g = fgetc(file);
data/cctools-7.1.2/dttools/src/bitmap.c:352:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = fgetc(file);
data/cctools-7.1.2/dttools/src/bitmap.c:390:6:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = fgetc(file);
data/cctools-7.1.2/dttools/src/bitmap.c:395:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		pcx_rle_value = fgetc(file);
data/cctools-7.1.2/dttools/src/bitmap.c:451:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			b = fgetc(file);
data/cctools-7.1.2/dttools/src/bitmap.c:452:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			g = fgetc(file);
data/cctools-7.1.2/dttools/src/bitmap.c:453:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			r = fgetc(file);
data/cctools-7.1.2/dttools/src/buffer.h:134: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).
#define buffer_putstring(b,s)  (buffer_putlstring(b,s,strlen(s)))
data/cctools-7.1.2/dttools/src/catalog_query.c:52:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int length = next ? next-hosts+1 : (int) strlen(hosts)+1;
data/cctools-7.1.2/dttools/src/catalog_query.c:54:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(hostport,hosts,length);
data/cctools-7.1.2/dttools/src/catalog_query.c:277: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).
	datagram_send(d, text, strlen(text), address, port);
data/cctools-7.1.2/dttools/src/catalog_query.c:293: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).
	link_write(l,text,strlen(text),stoptime);
data/cctools-7.1.2/dttools/src/catalog_query.c:304: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).
	unsigned long data_length = strlen(text);
data/cctools-7.1.2/dttools/src/catalog_query.c:311: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(text)<compress_limit) {
data/cctools-7.1.2/dttools/src/catalog_query.c:319:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		debug(D_DEBUG,"compressed update message from %d to %d bytes",(int)strlen(text),(int)data_length);
data/cctools-7.1.2/dttools/src/change_process_title.c:45: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).
	process_title_end = argv[argc - 1] + strlen(argv[argc - 1]);
data/cctools-7.1.2/dttools/src/chunk.c:82: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).
		ln_prefix_len = strlen(ln_prefix);
data/cctools-7.1.2/dttools/src/chunk.c:85: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).
		fc_prefix_len = strlen(fc_prefix);
data/cctools-7.1.2/dttools/src/chunk.c:99:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				new_chunk->len = pos - strlen(line) - new_chunk->pos;
data/cctools-7.1.2/dttools/src/chunk.c:113: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).
				new_chunk->len = pos - strlen(line) - new_chunk->pos;
data/cctools-7.1.2/dttools/src/console_login.c:81: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).
	prompt = malloc(strlen(service) + 10);
data/cctools-7.1.2/dttools/src/copy_tree.c:266: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).
	ns = strlen(s_real);
data/cctools-7.1.2/dttools/src/copy_tree.c:267: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).
	nt = strlen(t_real);
data/cctools-7.1.2/dttools/src/daemon.c:44: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 (pidfile && strlen(pidfile)) {
data/cctools-7.1.2/dttools/src/daemon.c:61:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/cctools-7.1.2/dttools/src/debug.c:338:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(debug_program_name, path_basename(name), sizeof(debug_program_name)-1);
data/cctools-7.1.2/dttools/src/debug_file.c:37: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(file_path)) {
data/cctools-7.1.2/dttools/src/debug_file.c:87: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).
	rc = full_write(file_fd, str, strlen(str));
data/cctools-7.1.2/dttools/src/debug_file.c:96:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(file_path, path, sizeof(file_path)-1);
data/cctools-7.1.2/dttools/src/debug_file.c:107: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(file_path)) {
data/cctools-7.1.2/dttools/src/debug_stream.c:17: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).
	full_write(STDERR_FILENO, str, strlen(str));
data/cctools-7.1.2/dttools/src/debug_stream.c:22: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).
	full_write(STDOUT_FILENO, str, strlen(str));
data/cctools-7.1.2/dttools/src/disk_alloc.c:190: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).
	int loop_dev_path_length = strlen(loop_mount);
data/cctools-7.1.2/dttools/src/disk_alloc.c:192: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).
	loop_dev[strlen(loop_dev) - 1] = '\0';
data/cctools-7.1.2/dttools/src/display_size.c:20:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy(result, "0");
data/cctools-7.1.2/dttools/src/elfheader.c:235: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(interp) >= PATH_MAX)
data/cctools-7.1.2/dttools/src/envtools.c:66:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	char c = fgetc(INPUT);
data/cctools-7.1.2/dttools/src/envtools.c:95:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = fgetc(INPUT);
data/cctools-7.1.2/dttools/src/file_cache.c:43: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).
	md5_buffer(path, strlen(path), digest);
data/cctools-7.1.2/dttools/src/file_cache.c:52: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).
	md5_buffer(path, strlen(path), digest);
data/cctools-7.1.2/dttools/src/file_cache.c:65: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).
	md5_buffer(path, strlen(path), digest);
data/cctools-7.1.2/dttools/src/full_io.c:54:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FULL_IO(read(fd, buf, count));
data/cctools-7.1.2/dttools/src/get_canonical_path.c:54: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).
			full_write(fds[1], canonical, strlen(canonical));
data/cctools-7.1.2/dttools/src/get_line.c:26: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(!strrchr(buffer, '\n') && strlen(buffer) == LARGE_LINE_MAX - 1) {
data/cctools-7.1.2/dttools/src/get_line.c:40:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(tmp, buffer, strlen(buffer));
data/cctools-7.1.2/dttools/src/get_line.c:40: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).
					strncpy(tmp, buffer, strlen(buffer));
data/cctools-7.1.2/dttools/src/getopt.c:266:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      int len = d->__nonoption_flags_max_len = strlen (orig_str);
data/cctools-7.1.2/dttools/src/getopt.c:493: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).
		== (unsigned int) strlen (p->name))
data/cctools-7.1.2/dttools/src/getopt.c:542: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).
	  d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/getopt.c:615: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).
		  d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/getopt.c:655: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).
		  d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/getopt.c:660: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).
	  d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/getopt.c:850:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/cctools-7.1.2/dttools/src/getopt.c:895: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).
	    d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/getopt.c:939:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/getopt.c:977:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/getopt.c:981: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).
	    d->__nextchar += strlen (d->__nextchar);
data/cctools-7.1.2/dttools/src/gpu_info.c:48:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(read(pipefd[0], buffer, 10)){
data/cctools-7.1.2/dttools/src/hash_table.c:385: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).
	return jenkins_hash((const ub1 *) s, strlen(s), 0);
data/cctools-7.1.2/dttools/src/hdfs_library.c:69: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).
		for (path = buffer_tostring(&paths); *path; path = path+strlen(path)+1) {
data/cctools-7.1.2/dttools/src/hdfs_library.c:120:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (path = buffer_tostring(&B); *path; path += strlen(path)+1) {
data/cctools-7.1.2/dttools/src/hdfs_library.c:174:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	HDFS_LOAD_FUNC(read, "hdfsRead");
data/cctools-7.1.2/dttools/src/hdfs_library.h:56:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	tSize (*read) (hdfsFS, hdfsFile, void *, tSize);
data/cctools-7.1.2/dttools/src/http_query.c:129: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).
		delta = strlen("http://") + strlen(actual_host);
data/cctools-7.1.2/dttools/src/http_query.c:129: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).
		delta = strlen("http://") + strlen(actual_host);
data/cctools-7.1.2/dttools/src/http_query.c:134: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).
		memmove(url, url + delta, strlen(url) - delta + 1); /* 1: copy the terminating null character */
data/cctools-7.1.2/dttools/src/http_query.c:181: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(line) <= 2) {
data/cctools-7.1.2/dttools/src/jx2env.c:134:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if(!path || strlen(path+1) < 1) {
data/cctools-7.1.2/dttools/src/jx_binary.c:124: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).
			length = strlen(j->u.string_value);
data/cctools-7.1.2/dttools/src/jx_function.c:357: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).
		result = jx_string(string_front(b, strlen(b) - strlen(s)));
data/cctools-7.1.2/dttools/src/jx_function.c:357:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		result = jx_string(string_front(b, strlen(b) - strlen(s)));
data/cctools-7.1.2/dttools/src/jx_parse.c:164:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = fgetc(p->source_file);
data/cctools-7.1.2/dttools/src/jx_table.c:28: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).
	int stlen = strlen(str);
data/cctools-7.1.2/dttools/src/jx_table.c:111:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(line, "B");
data/cctools-7.1.2/dttools/src/link.c:57:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	uint64_t read, written;
data/cctools-7.1.2/dttools/src/link.c:552:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ssize_t chunk = read(link->fd, link->buffer, sizeof(link->buffer));
data/cctools-7.1.2/dttools/src/link.c:608:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		chunk = read(link->fd, data, count);
data/cctools-7.1.2/dttools/src/link.c:662:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		chunk = read(link->fd, data, count);
data/cctools-7.1.2/dttools/src/link.h:171:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define link_putstring(l,s,t)  (link_putlstring(l,s,strlen(s),t))
data/cctools-7.1.2/dttools/src/link_auth.c:69: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).
	sha1_buffer(my_response,strlen(my_response),digest);
data/cctools-7.1.2/dttools/src/link_auth.c:75: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).
	sha1_buffer(expected_response,strlen(expected_response),digest);
data/cctools-7.1.2/dttools/src/list.c:45: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).
	write(STDERR_FILENO, message, strlen(message));
data/cctools-7.1.2/dttools/src/md5.c:343:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((n = read(fd, buffer, BUFFER_SIZE)) > 0) {
data/cctools-7.1.2/dttools/src/md5.c:382:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	md5_update(&context, (const unsigned char *)s, strlen(s));
data/cctools-7.1.2/dttools/src/microbench.c:91:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = read(fd, buffer, BUFFER_SIZE);
data/cctools-7.1.2/dttools/src/mkdir_recursive.c:28:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(path) >= PATH_MAX)
data/cctools-7.1.2/dttools/src/mkdir_recursive.c:70:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(path) >= PATH_MAX)
data/cctools-7.1.2/dttools/src/nvpair.c:78: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(key)==0){
data/cctools-7.1.2/dttools/src/password_cache.c:37:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(p->username);
data/cctools-7.1.2/dttools/src/password_cache.c:42:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(p->password);
data/cctools-7.1.2/dttools/src/path.c:60:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(path);
data/cctools-7.1.2/dttools/src/path.c:124:17:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	if(s == start) strcpy(s, "/");
data/cctools-7.1.2/dttools/src/path.c:127:31:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	if(strcmp(start, "./") == 0) strcpy(start, ".");
data/cctools-7.1.2/dttools/src/path.c:156:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
			strcpy(dir, "/");
data/cctools-7.1.2/dttools/src/path.c:158:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(dir, ".");
data/cctools-7.1.2/dttools/src/path.c:166:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(search_path);
data/cctools-7.1.2/dttools/src/path.c:191:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(fn, s, PATH_MAX);
data/cctools-7.1.2/dttools/src/path.c:192:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
					strcat(fn, "/");
data/cctools-7.1.2/dttools/src/path.c:195:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
						strncpy(dest, fn, destlen);
data/cctools-7.1.2/dttools/src/path.c:236: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).
	for (s = path+strlen(path)-1; s > path && *s == '/'; s--) {
data/cctools-7.1.2/dttools/src/path.c:488: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).
	s1 = strlen(p1);
data/cctools-7.1.2/dttools/src/path.c:489: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).
	s2 = strlen(p2);
data/cctools-7.1.2/dttools/src/path_disk_size_info.c:84:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(composed_path, entry->d_name, PATH_MAX);
data/cctools-7.1.2/dttools/src/pattern.c:41: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).
	ms.src_end = str + strlen(str);
data/cctools-7.1.2/dttools/src/pattern.c:42: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).
	ms.p_end = patt + strlen(patt);
data/cctools-7.1.2/dttools/src/pattern.c:60:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(*capture, ms.capture[i].init, l);
data/cctools-7.1.2/dttools/src/preadwrite.c:22:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = read(fd, data, length);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:204: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 n = strlen(attribute);
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:222:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if(strlen(proc_attr_line) == PATH_MAX - 2)
data/cctools-7.1.2/dttools/src/rmonitor_poll.c:784:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t cmdline_len = read(fileno(fline), cmdline, PATH_MAX);
data/cctools-7.1.2/dttools/src/s3_file_io.c:167:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy( rrs, "x-amz-storage-class:REDUCED_REDUNDANCY\n", sizeof(rrs));  
data/cctools-7.1.2/dttools/src/s3_file_io.c:181:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (bucket && strncmp(S3Host, bucket, strlen(bucket)) == 0)
data/cctools-7.1.2/dttools/src/s3_file_io.c:319:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy ( Buf, "x-amz-storage-class: REDUCED_REDUNDANCY", sizeof(Buf) );
data/cctools-7.1.2/dttools/src/s3_file_io.c:432: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).
  HMAC_Init(&ctx, awsKey, strlen(awsKey), EVP_sha1());
data/cctools-7.1.2/dttools/src/s3_file_io.c:433: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).
  HMAC_Update(&ctx,(unsigned char*)str, strlen(str));
data/cctools-7.1.2/dttools/src/sha1.c:405:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((n = read(fd, buffer, BUFFER_SIZE)) > 0) {
data/cctools-7.1.2/dttools/src/shell.c:112:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		result = read(out[0], b, sizeof(b));
data/cctools-7.1.2/dttools/src/shell.c:119:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		result = read(err[0], b, sizeof(b));
data/cctools-7.1.2/dttools/src/string_array.c:36: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).
	size_t nlength = olength + strlen(str)+1 + sizeof(char *);
data/cctools-7.1.2/dttools/src/stringtools.c:161: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).
	new_pattern = (char *) malloc(sizeof(char) * (strlen(pattern) + 3));
data/cctools-7.1.2/dttools/src/stringtools.c:167: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(new_pattern, "^");
data/cctools-7.1.2/dttools/src/stringtools.c:169: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(pattern[strlen(pattern) - 1] != '$')
data/cctools-7.1.2/dttools/src/stringtools.c:170: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(new_pattern, "$");
data/cctools-7.1.2/dttools/src/stringtools.c:206: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).
	taillen = strlen(pattern) - headlen - 1;
data/cctools-7.1.2/dttools/src/stringtools.c:208:82:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return !strncmp(pattern, text, headlen) && !strcmp(&pattern[headlen + 1], &text[strlen(text) - taillen]);
data/cctools-7.1.2/dttools/src/stringtools.c:216: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).
	length = strlen(str);
data/cctools-7.1.2/dttools/src/stringtools.c:220:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buffer, str, max);
data/cctools-7.1.2/dttools/src/stringtools.c:230: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).
	length = strlen(str);
data/cctools-7.1.2/dttools/src/stringtools.c:322: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).
	*argv = malloc((strlen(str) + 1) * sizeof(char *));
data/cctools-7.1.2/dttools/src/stringtools.c:354: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).
	*argv = malloc((strlen(str) + 1) * sizeof(char *));
data/cctools-7.1.2/dttools/src/stringtools.c:376: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).
				memmove(str, str + 1, strlen(str));
data/cctools-7.1.2/dttools/src/stringtools.c:387: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).
				memmove(str, str + 1, strlen(str));
data/cctools-7.1.2/dttools/src/stringtools.c:391: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).
						memmove(str, str + 1, strlen(str));
data/cctools-7.1.2/dttools/src/stringtools.c:396: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).
						memmove(str, str + 1, strlen(str));
data/cctools-7.1.2/dttools/src/stringtools.c:425: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(old) <= length) {
data/cctools-7.1.2/dttools/src/stringtools.c:427: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).
		for(i = strlen(old); i < length; i++) {
data/cctools-7.1.2/dttools/src/stringtools.c:431:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(s, old, length);
data/cctools-7.1.2/dttools/src/stringtools.c:448: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).
	slength = strlen(old);
data/cctools-7.1.2/dttools/src/stringtools.c:526: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).
		length = strlen(value) - (rdelim - dollar) + strlen(subvalue) + 1;
data/cctools-7.1.2/dttools/src/stringtools.c:526: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).
		length = strlen(value) - (rdelim - dollar) + strlen(subvalue) + 1;
data/cctools-7.1.2/dttools/src/stringtools.c:555: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((n = strlen(prefix)) == 0) return 0;
data/cctools-7.1.2/dttools/src/stringtools.c:567: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((n = strlen(suffix)) == 0) return 0;
data/cctools-7.1.2/dttools/src/stringtools.c:568: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((m = strlen(string)) < n)  return 0;
data/cctools-7.1.2/dttools/src/stringtools.c:639: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).
	a_len = strlen(a);
data/cctools-7.1.2/dttools/src/stringtools.c:640: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).
	r = realloc(a, (a_len + strlen(b) + 1) * sizeof(char));
data/cctools-7.1.2/dttools/src/stringtools.c:792: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).
		for(i = 0; i < strlen(str); i++) {
data/cctools-7.1.2/dttools/src/stringtools.c:806: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).
		for(i = strlen(str) - 1; i >= 0; i--) {
data/cctools-7.1.2/dttools/src/stringtools.c:888: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).
	p = s + strlen(s) - 1;
data/cctools-7.1.2/dttools/src/stringtools.c:908: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).
	back  = s + strlen(s) - 1;
data/cctools-7.1.2/dttools/src/stringtools.c:946: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 * result = malloc(strlen(new_command)+strlen(wrapper_command)+16);
data/cctools-7.1.2/dttools/src/stringtools.c:946: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).
	char * result = malloc(strlen(new_command)+strlen(wrapper_command)+16);
data/cctools-7.1.2/dttools/src/uuid.c:34: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).
	assert(strlen(hex) >= sizeof bytes);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:132:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					c = fgetc(s->response);
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:247: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).
				memset(pass,0,strlen(pass));
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:250: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).
			memset(pass,0,strlen(pass));
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:866:70:  [1] (buffer) strlen:
  Does not handle 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 globus_gss_assist_wrap_send(&minor,s->context,(char *)buffer,strlen(buffer),&token,ftp_lite_send_gss,s,stderr)==GSS_S_COMPLETE;
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:875: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).
	*length = strlen(line)-4;
data/cctools-7.1.2/ftp_lite/src/ftp_lite.c:916: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).
	*length = strlen(buffer)-9;
data/cctools-7.1.2/ftp_lite/src/login.c:78: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).
	prompt = malloc(strlen(service)+10);
data/cctools-7.1.2/ftp_lite/src/network.c:238:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		piece = read(fd,&data[total],(length-total));
data/cctools-7.1.2/grow/src/grow.c:46:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sha1_update(&grow_filesystem_checksum,(unsigned char*)line,strlen(line));
data/cctools-7.1.2/grow/src/grow_fuse.c:378:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/cctools-7.1.2/makeflow/src/dag_node.c:214:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(filename);
data/cctools-7.1.2/makeflow/src/dag_variable.c:24: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).
	v->len    = strlen(value);
data/cctools-7.1.2/makeflow/src/dag_variable.c:45:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int nlen = strlen(value);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:270: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).
	int executable_path_length = strlen(executable_path);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:277:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int command_length = strlen(n->command);
data/cctools-7.1.2/makeflow/src/dag_visitors.c:287:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int command_length = strlen(n->command);
data/cctools-7.1.2/makeflow/src/lexer.c:274:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int len = strlen(s);
data/cctools-7.1.2/makeflow/src/lexer.c:1217: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).
		lexer_roll_back(lx, strlen(name->lexeme));
data/cctools-7.1.2/makeflow/src/lexer.c:1228:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	int colon, equal;
data/cctools-7.1.2/makeflow/src/lexer.c:1262:47:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if((colon != -1) && (equal == -1 || colon < equal)) {
data/cctools-7.1.2/makeflow/src/makeflow.c:1128: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).
		write(fd, buf, strlen(buf));
data/cctools-7.1.2/makeflow/src/makeflow_linker.c:229:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while (read(pipefd[0], &next, sizeof(next)) != 0){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:60:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int read;
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:130: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).
        	line[strlen(line)-1] = '\0';
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:141: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).
        	line[strlen(line)-1] = '\0';
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:928:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(a->read && makeflow_archive_is_preserved(a, t, task_path)){
data/cctools-7.1.2/makeflow/src/makeflow_module_archive.c:952:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(a->read && makeflow_archive_is_preserved(a, t, task_path)){
data/cctools-7.1.2/makeflow/src/makeflow_module_shared_fs.c:42: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).
	return strncmp(stem, filename, strlen(stem));
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:149: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).
        unsigned len = strlen(sendstr);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_starter.c:202: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).
        unsigned mia_len = strlen(master_ipaddr);
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:95: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).
    for(i=0; i<strlen(guid_s); i++){
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:110:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 0; i < strlen(out); i++) {
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:178: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(workqueue_options)>0 && !strstr("mpi_worker",binary)){
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:181: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(makeflow_options)>0 && !(strstr("mpi_worker",binary) || strstr("makeflow -T mpi",binary))){
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:267: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(workqueue_options)>0 && !strstr("mpi_worker",binary)){
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:270: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(makeflow_options)>0 && !(strstr("mpi_worker",binary) || strstr("makeflow -T mpi",binary))){
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:350: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(workqueue_options)>0 && !strstr("mpi_worker",binary)){
data/cctools-7.1.2/makeflow/src/makeflow_mpi_submitter.c:353: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(makeflow_options)>0 && !(strstr("mpi_worker",binary) || strstr("makeflow -T mpi",binary))){
data/cctools-7.1.2/parrot/src/ibox_acl.c:152: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(text, "r");
data/cctools-7.1.2/parrot/src/ibox_acl.c:154: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(text, "w");
data/cctools-7.1.2/parrot/src/ibox_acl.c:156: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(text, "l");
data/cctools-7.1.2/parrot/src/ibox_acl.c:158: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(text, "d");
data/cctools-7.1.2/parrot/src/ibox_acl.c:160: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(text, "p");
data/cctools-7.1.2/parrot/src/ibox_acl.c:162: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(text, "a");
data/cctools-7.1.2/parrot/src/ibox_acl.c:164: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(text, "x");
data/cctools-7.1.2/parrot/src/ibox_acl.c:166: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(text, "v");
data/cctools-7.1.2/parrot/src/ibox_acl.c:167: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(text, "(");
data/cctools-7.1.2/parrot/src/ibox_acl.c:169:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "r");
data/cctools-7.1.2/parrot/src/ibox_acl.c:171:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "w");
data/cctools-7.1.2/parrot/src/ibox_acl.c:173:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "l");
data/cctools-7.1.2/parrot/src/ibox_acl.c:175:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "d");
data/cctools-7.1.2/parrot/src/ibox_acl.c:177:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "p");
data/cctools-7.1.2/parrot/src/ibox_acl.c:179:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "v");
data/cctools-7.1.2/parrot/src/ibox_acl.c:181:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "a");
data/cctools-7.1.2/parrot/src/ibox_acl.c:183:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(text, "x");
data/cctools-7.1.2/parrot/src/ibox_acl.c:184: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(text, ")");
data/cctools-7.1.2/parrot/src/ibox_acl.c:188:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(text, "n");
data/cctools-7.1.2/parrot/src/ibox_acl.h:13: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).
#define IBOX_ACL_BASE_LENGTH (strlen(IBOX_ACL_BASE_NAME))
data/cctools-7.1.2/parrot/src/irods_reli.cc:160: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(irods_env.irodsPluginHome) > 0)
data/cctools-7.1.2/parrot/src/parrot_client.c:144: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).
	ptrdiff_t length = (tail==NULL) ? (ptrdiff_t)strlen(data) : tail - data;
data/cctools-7.1.2/parrot/src/parrot_client.c:152:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(next, data, length);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:113:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy(newpath, "");
data/cctools-7.1.2/parrot/src/parrot_package_create.c:120: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).
	newpath[strlen(newpath) - 4] = '\0';
data/cctools-7.1.2/parrot/src/parrot_package_create.c:127: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).
	n = strlen(path);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:151: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).
	old_path = path + strlen(packagepath);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:286: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).
		size = strlen(first_dir);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:288: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).
		size = strlen(first_dir) - strlen(tmp_dir);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:288: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).
		size = strlen(first_dir) - strlen(tmp_dir);
data/cctools-7.1.2/parrot/src/parrot_package_create.c:367:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(dir_name, "/");
data/cctools-7.1.2/parrot/src/parrot_package_create.c:396: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(path) == 0) {
data/cctools-7.1.2/parrot/src/parrot_package_create.c:578:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if(linked_path[strlen(linked_path) - 1] != '/')
data/cctools-7.1.2/parrot/src/parrot_package_create.c:579:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(linked_path, "/");
data/cctools-7.1.2/parrot/src/parrot_package_create.c:808: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).
			caller[strlen(caller) - 1] = '\0';
data/cctools-7.1.2/parrot/src/parrot_package_create.c:809: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).
			path_len = strlen(line) - strlen(caller) - 1;
data/cctools-7.1.2/parrot/src/parrot_package_create.c:809: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).
			path_len = strlen(line) - strlen(caller) - 1;
data/cctools-7.1.2/parrot/src/parrot_package_create.c:814: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).
			line[strlen(line) - 1] = '\0';
data/cctools-7.1.2/parrot/src/parrot_package_create.c:816: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).
			path_len = strlen(path);
data/cctools-7.1.2/parrot/src/pfs_dir.cc:111:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(d.d_name, name, sizeof(d.d_name)-1);
data/cctools-7.1.2/parrot/src/pfs_dir.cc:117: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).
	s = &d.d_name[strlen(d.d_name)-1];
data/cctools-7.1.2/parrot/src/pfs_dir.cc:127: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).
		memmove(d.d_name, s+1, strlen(s+1)+1);
data/cctools-7.1.2/parrot/src/pfs_dir.cc:130: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(d.d_name) == 0)
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:190:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		INT64_T args[] = {(INT64_T)pfs_process_scratch_set(p, path, strlen(path)+1), 0};
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:196:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		INT64_T args[] = {parrot_dir_fd, (INT64_T)pfs_process_scratch_set(p, path, strlen(path)+1), O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR};
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:829: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).
	buffer_putlstring(&B, path, strlen(path)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:834: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).
		buffer_putlstring(&B, replace_arg0, strlen(replace_arg0)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:838: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).
		buffer_putlstring(&B, arg1, strlen(arg1)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:842: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).
		buffer_putlstring(&B, arg2, strlen(arg2)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:949:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(p->new_logical_name, logical_name, sizeof(p->new_logical_name)-1);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:983: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(interp_arg))
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:993: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(interp_arg)) {
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1586: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) == 0) {
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1607:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					INT64_T nargs[] = {(INT64_T)pfs_process_scratch_set(p, native_path, strlen(native_path)+1), flags, mode};
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:1766: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).
					reclen += sizeof(reclen) + strlen(name) + 1 /* NUL */ + /* padding + */ sizeof(type);
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2486: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).
					p->syscall_result = strlen(path)+1;
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2879: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) == 0) {
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:2890:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					INT64_T nargs[] = {(INT64_T)pfs_process_scratch_set(p, native_path, strlen(native_path)+1), args[2], args[3]};
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3175:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					TRACER_MEM_OP(tracer_copy_out(p->tracer,alloc_path,POINTER(args[1]),strlen(alloc_path),TRACER_O_ATOMIC));
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3644:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy(exe, "");
data/cctools-7.1.2/parrot/src/pfs_dispatch.cc:3645: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(physical_name) >= PATH_MAX)
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:196:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		INT64_T args[] = {(INT64_T)pfs_process_scratch_set(p, path, strlen(path)+1), 0};
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:202:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		INT64_T args[] = {parrot_dir_fd, (INT64_T)pfs_process_scratch_set(p, path, strlen(path)+1), O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR};
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:651: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).
	buffer_putlstring(&B, path, strlen(path)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:656: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).
		buffer_putlstring(&B, replace_arg0, strlen(replace_arg0)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:660: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).
		buffer_putlstring(&B, arg1, strlen(arg1)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:664: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).
		buffer_putlstring(&B, arg2, strlen(arg2)+1);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:771:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(p->new_logical_name, logical_name, sizeof(p->new_logical_name)-1);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:805: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(interp_arg))
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:815: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(interp_arg)) {
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1339: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) == 0) {
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1360:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					INT64_T nargs[] = {(INT64_T)pfs_process_scratch_set(p, native_path, strlen(native_path)+1), flags, mode};
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:1515:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					reclen = sizeof(ino) + sizeof(off) + sizeof(reclen) + strlen(name) + 1 /* NUL */ + /* padding + */ sizeof(type);
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2162: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).
					p->syscall_result = strlen(path)+1;
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2540: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) == 0) {
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2551:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					INT64_T nargs[] = {(INT64_T)pfs_process_scratch_set(p, native_path, strlen(native_path)+1), args[2], args[3]};
data/cctools-7.1.2/parrot/src/pfs_dispatch64.cc:2853:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					TRACER_MEM_OP(tracer_copy_out(p->tracer,alloc_path,POINTER(args[1]),strlen(alloc_path),TRACER_O_ATOMIC));
data/cctools-7.1.2/parrot/src/pfs_file.cc:31:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
pfs_ssize_t pfs_file::read( void *data, pfs_size_t length, pfs_off_t offset )
data/cctools-7.1.2/parrot/src/pfs_file.h:23:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual	pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset );
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:64:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ractual = file->read(buffer,sizeof(buffer),offset);
data/cctools-7.1.2/parrot/src/pfs_file_cache.cc:120:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *d, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_location.cc:55:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf, name, buf_len);
data/cctools-7.1.2/parrot/src/pfs_location.cc:58: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(buf);
data/cctools-7.1.2/parrot/src/pfs_main.cc:1141:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(image, optarg, MIN((size_t) (split - optarg), sizeof(image) - 1));
data/cctools-7.1.2/parrot/src/pfs_main.cc:1142:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(mountpoint, split + 1, sizeof(mountpoint) - 1);
data/cctools-7.1.2/parrot/src/pfs_mmap.h:40:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(fpath, _file->get_name()->path, sizeof(fpath)-1);
data/cctools-7.1.2/parrot/src/pfs_mountfile.c:26: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).
	for(i = 0; i < strlen(options); i++) {
data/cctools-7.1.2/parrot/src/pfs_paranoia.cc:64:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(1 == (ret = read(from_parent_fd, &value, 1))) {
data/cctools-7.1.2/parrot/src/pfs_process.cc:166: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(filename) >= MAX_PATHTOFILENAME) {
data/cctools-7.1.2/parrot/src/pfs_process.cc:167:120:  [1] (buffer) strlen:
  Does not handle 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(path, MAX_PATHTOFILENAME, "%.*s...%.*s", MAX_PATHTOFILENAME/2-2, filename, MAX_PATHTOFILENAME/2-2, filename+strlen(filename)-(MAX_PATHTOFILENAME/2-2));
data/cctools-7.1.2/parrot/src/pfs_process.cc:199:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(path, "p"); /* dummy name */
data/cctools-7.1.2/parrot/src/pfs_process.cc:277:26:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		child->umask = parent->umask;
data/cctools-7.1.2/parrot/src/pfs_process.h:55:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	mode_t umask;
data/cctools-7.1.2/parrot/src/pfs_resolve.c:160: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).
	sprintf(cmd,"%s %s",redirect,&logical_name[strlen(prefix)]);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:202:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int plen = strlen(prefix);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:203:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int llen = strlen(logical_name);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:234:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							(!strncmp(logical_name, pfs_temp_dir, strlen(pfs_temp_dir))) )
data/cctools-7.1.2/parrot/src/pfs_resolve.c:240:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(physical_name, local_prefix, local_prefix_len);
data/cctools-7.1.2/parrot/src/pfs_resolve.c:243:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
					strcat(physical_name,"/");
data/cctools-7.1.2/parrot/src/pfs_resolve.c:252:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
						strcat(physical_name,"/");
data/cctools-7.1.2/parrot/src/pfs_resolve.c:263:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
					strcat(physical_name,"/");
data/cctools-7.1.2/parrot/src/pfs_resolve.c:296:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				int plen = strlen(prefix);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:178:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:329:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(replicaid, replica_list->replicas[i], BXGRID_ID_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:333:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(replicaid, replica_list->replicas[random_uint() % replica_list->nreplicas], BXGRID_ID_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:337:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(replicaid, replica_list->replicas[nid], BXGRID_ID_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:352:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(replicaid, rep_row[0], BXGRID_ID_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:361:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(replicaid, rep_row[0], BXGRID_ID_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:371:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(replicaid, rep_row[0], BXGRID_ID_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:405:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(host, replica_location->host, PFS_PATH_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:406:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, replica_location->path, PFS_PATH_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:411:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(host, rep_row[0], PFS_PATH_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:412:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(path, rep_row[1], PFS_PATH_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:527:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy(bxgrid_hostname, "localhost", PFS_LINE_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_bxgrid.cc:569:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
						strncpy((char *)buffer, bvf->query, PFS_LINE_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:121:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:200:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(buf,"\n");
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:248:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(name->rest)==0) {
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:249:4:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
			sprintf(name->rest, "/");
data/cctools-7.1.2/parrot/src/pfs_service_chirp.cc:598: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).
		if(result==0) result = strlen(buf);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:200:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result =::read(fd, d, length);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:363:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int n_to_write = strlen(key_text);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:491:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		f->cvmfs_options.replace(cern_key_pos-f->cvmfs_options.c_str(),strlen(CERN_KEY_PLACEHOLDER),cern_key_fname);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:504:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		f->cvmfs_options.replace(cern_it1_key_pos-f->cvmfs_options.c_str(),strlen(CERN_IT1_KEY_PLACEHOLDER),cern_it1_key_fname);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:517:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		f->cvmfs_options.replace(cern_it4_key_pos-f->cvmfs_options.c_str(),strlen(CERN_IT4_KEY_PLACEHOLDER),cern_it4_key_fname);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:530:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		f->cvmfs_options.replace(cern_it5_key_pos-f->cvmfs_options.c_str(),strlen(CERN_IT5_KEY_PLACEHOLDER),cern_it5_key_fname);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:543:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		f->cvmfs_options.replace(oasis_key_pos-f->cvmfs_options.c_str(),strlen(OASIS_KEY_PLACEHOLDER),oasis_key_fname);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:684: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).
		char *rest = try_local_filesystem_pos+strlen("try_local_filesystem");
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:685: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).
		memmove(try_local_filesystem_pos,rest,strlen(rest)+1);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:774: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(pfs_cvmfs_option_file) > 0) {
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:841: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(pfs_cvmfs_option_file) > 0) {
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1007:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t namelen = strlen(name->host);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1118: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).
		return strlen(buf);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1139:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(path_tail, path->rest, PFS_PATH_MAX);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1145:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int rest_len = strlen(xpath->rest);
data/cctools-7.1.2/parrot/src/pfs_service_cvmfs.cc:1326:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		virtual pfs_ssize_t read(void *d, pfs_size_t length, pfs_off_t offset) {
data/cctools-7.1.2/parrot/src/pfs_service_dcap.cc:60:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:128:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(name, dirent->name, MIN(name_len, sizeof(name) - 1));
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:174:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memmove(target, current, strlen(current) + 1);
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:197:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(tmp, path, sizeof(tmp) - 1);
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:207: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).
		rc = ext2fs_lookup(fs, cwd, current, strlen(current), NULL, &dir);
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:226: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).
	rc = ext2fs_lookup(fs, cwd, current, strlen(current), NULL, &out);
data/cctools-7.1.2/parrot/src/pfs_service_ext.cc:261:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read(void *data, pfs_size_t length, pfs_off_t offset) {
data/cctools-7.1.2/parrot/src/pfs_service_ftp.cc:51:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *d, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_gfal.cc:76:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:54:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if(strlen(path)==0){
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:89:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:174:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( out._getLfnStatReturn->__ptr[0]->permission->userPerm->read )
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:181:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( out._getLfnStatReturn->__ptr[0]->permission->groupPerm->read )
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:188:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( out._getLfnStatReturn->__ptr[0]->permission->otherPerm->read )
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:221: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(tmp2)==0){
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:233:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if(strlen(path)==0){
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:379:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( out._getLfnStatReturn->__ptr[0]->permission->userPerm->read )
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:386:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( out._getLfnStatReturn->__ptr[0]->permission->groupPerm->read )
data/cctools-7.1.2/parrot/src/pfs_service_glite.cc:393:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if( out._getLfnStatReturn->__ptr[0]->permission->otherPerm->read )
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:430:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *d, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:440:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			actual = ::read(local_fd, d, length);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:728:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(buf,d->linkname,bufsiz);
data/cctools-7.1.2/parrot/src/pfs_service_grow.cc:729:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			length = MIN((unsigned)bufsiz,strlen(d->linkname));
data/cctools-7.1.2/parrot/src/pfs_service_hdfs.cc:75:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_http.cc:65:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *d, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_irods.cc:41:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_lfc.cc:294:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(newpath,name->path,size);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:122:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:131:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		result = ::read(fd,data,length);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:722:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buf, pfs_username, size);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:723: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).
		result = strlen(buf);
data/cctools-7.1.2/parrot/src/pfs_service_local.cc:726: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).
		result = strlen(buf);
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:41:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:106:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(buf,"\n");
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:227: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).
			result = strlen(buf);
data/cctools-7.1.2/parrot/src/pfs_service_multi.cc:248: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).
		if(result==0) result = strlen(buf);
data/cctools-7.1.2/parrot/src/pfs_service_nest.cc:131:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:76:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_rfio.cc:144:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(path,"/");
data/cctools-7.1.2/parrot/src/pfs_service_s3.cc:113:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read( void *data, pfs_size_t length, pfs_off_t offset ) {
data/cctools-7.1.2/parrot/src/pfs_service_xrootd.cc:78:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual pfs_ssize_t read(void *d, pfs_size_t length, pfs_off_t offset) {
data/cctools-7.1.2/parrot/src/pfs_sys.cc:90:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = pfs_current->table->read(fd,data,length);
data/cctools-7.1.2/parrot/src/pfs_table.cc:201: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).
	assert(strlen(lpath) > 0);
data/cctools-7.1.2/parrot/src/pfs_table.cc:210: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(pname.rest) >= len)
data/cctools-7.1.2/parrot/src/pfs_table.cc:360:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(full_path,"/");
data/cctools-7.1.2/parrot/src/pfs_table.cc:384:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(full_path,"/");
data/cctools-7.1.2/parrot/src/pfs_table.cc:426:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(link_parent, pname->logical_name, dirname_len);
data/cctools-7.1.2/parrot/src/pfs_table.cc:477: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(cname) == 0)
data/cctools-7.1.2/parrot/src/pfs_table.cc:561:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(pname->hostport, hostport, sizeof(pname->hostport));
data/cctools-7.1.2/parrot/src/pfs_table.cc:567: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).
				path_split(tmp,&pname->hostport[strlen(pname->hostport)],pname->rest); // reconstruct hostport as host:port@volume; path goes in rest.
data/cctools-7.1.2/parrot/src/pfs_table.cc:570: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).
				memmove(pname->rest,&pname->rest[1],strlen(pname->rest));
data/cctools-7.1.2/parrot/src/pfs_table.cc:576:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(full_logical_name, pname->path, sizeof(full_logical_name));
data/cctools-7.1.2/parrot/src/pfs_table.cc:588:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(full_logical_name, pname->path, sizeof(full_logical_name));
data/cctools-7.1.2/parrot/src/pfs_table.cc:783:30:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	mode = mode &~(pfs_current->umask);
data/cctools-7.1.2/parrot/src/pfs_table.cc:890:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
pfs_ssize_t pfs_table::read( int fd, void *data, pfs_size_t nbyte )
data/cctools-7.1.2/parrot/src/pfs_table.cc:943:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			result = f->read( data, nbyte, offset );
data/cctools-7.1.2/parrot/src/pfs_table.cc:986:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		chunk = this->read( fd, vector->iov_base, vector->iov_len );
data/cctools-7.1.2/parrot/src/pfs_table.cc:1278: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(cwd)+1 > (size_t)size) {
data/cctools-7.1.2/parrot/src/pfs_table.cc:1669:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(buf,path,size);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1670: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).
				result = MIN(strlen(path),(size_t)size);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1681: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).
				size_t count = MIN(strlen(path), (size_t)size);
data/cctools-7.1.2/parrot/src/pfs_table.cc:1856:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(atom, pattern, (size_t)(end-pattern));
data/cctools-7.1.2/parrot/src/pfs_table.cc:1899:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(atom, pattern, (size_t)(end-pattern));
data/cctools-7.1.2/parrot/src/pfs_table.cc:1933: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(pattern) == 0)
data/cctools-7.1.2/parrot/src/pfs_table.cc:1944: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).
	char *current = fullpath + strlen(fullpath);	/* point to end to current directory */
data/cctools-7.1.2/parrot/src/pfs_table.cc:2083:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(start)==0) break;
data/cctools-7.1.2/parrot/src/pfs_table.cc:2091:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
				strcpy(path, ".");
data/cctools-7.1.2/parrot/src/pfs_table.cc:2095:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(path, start, length);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2110: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).
			const char *base = directory + strlen(directory);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2158: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).
					result = search_directory(this, directory+strlen(directory), directory, pattern, flags, buffer, buffer_length, i);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2207: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(n && strlen(n)) {
data/cctools-7.1.2/parrot/src/pfs_table.cc:2222:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(buf, path, length);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2321:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ractual = sourcefile->read(buffer,buffer_size,total);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2378:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		result = file->read(buffer,buffer_size,total);
data/cctools-7.1.2/parrot/src/pfs_table.cc:2476:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		actual = file->read(pfs_channel_base()+start+offset,chunk,offset);
data/cctools-7.1.2/parrot/src/pfs_table.h:50:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	pfs_ssize_t	read( int fd, void *data, pfs_size_t length );
data/cctools-7.1.2/parrot/src/tracer.c:628:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (errno == EFAULT && read) {
data/cctools-7.1.2/parrot/src/tracer.c:629:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			return read;
data/cctools-7.1.2/parrot/src/tracer.c:641:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return read;
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:447:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size_t n = read(fd, exec_type, sizeof(exec_type) - 1);
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:633: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) < 1 || access(path, F_OK) != 0)
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:749:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read(rmonitor_inotify_fd, evdata, nbytes) != nbytes)
data/cctools-7.1.2/resource_monitor/src/resource_monitor.c:1623:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(200000);
data/cctools-7.1.2/resource_monitor/src/resource_monitor_tools.c:205: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).
		int n = strlen(file_summ);
data/cctools-7.1.2/resource_monitor/src/rmonitor_file_watch.c:210:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(msg.data.s, label, sizeof(msg.data.s) - 1);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:74:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
declare_original_dlsym(read);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:104:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	define_original_dlsym(read);
data/cctools-7.1.2/resource_monitor/src/rmonitor_helper.c:416:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
ssize_t read(int fd, void *buf, size_t count)
data/cctools-7.1.2/resource_monitor/src/rmonitor_snapshot.c:23:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(msg.data.s, argv[1], sizeof(msg.data.s) - 1);
data/cctools-7.1.2/work_queue/src/work_queue.c:1077: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(effective_stoptime - current_time);
data/cctools-7.1.2/work_queue/src/work_queue.c:1094: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).
	int remote_name_len = strlen(remote_name);
data/cctools-7.1.2/work_queue/src/work_queue.c:1204: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).
		md5_buffer(payload,strlen(payload),digest);
data/cctools-7.1.2/work_queue/src/work_queue.c:1923:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(t->output+MAX_TASK_STDOUT_STORAGE-strlen(truncate_msg), truncate_msg, strlen(truncate_msg));
data/cctools-7.1.2/work_queue/src/work_queue.c:1923:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strncpy(t->output+MAX_TASK_STDOUT_STORAGE-strlen(truncate_msg), truncate_msg, strlen(truncate_msg));
data/cctools-7.1.2/work_queue/src/work_queue.c:1923:82:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strncpy(t->output+MAX_TASK_STDOUT_STORAGE-strlen(truncate_msg), truncate_msg, strlen(truncate_msg));
data/cctools-7.1.2/work_queue/src/work_queue.c:1929:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(effective_stoptime - current_time);
data/cctools-7.1.2/work_queue/src/work_queue.c:2857: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(effective_stoptime - current_time);
data/cctools-7.1.2/work_queue/src/work_queue.c:2978: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).
	expanded_name = (char *) malloc(strlen(payload) + (50 * sizeof(char)));
data/cctools-7.1.2/work_queue/src/work_queue.c:2995:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(expanded_name, "$");
data/cctools-7.1.2/work_queue/src/work_queue.c:3008:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(expanded_name, "$");
data/cctools-7.1.2/work_queue/src/work_queue.c:3014:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(expanded_name, "$");
data/cctools-7.1.2/work_queue/src/work_queue.c:3218: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).
	long long cmd_len = strlen(command_line);
data/cctools-7.1.2/work_queue/src/work_queue.c:3246: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).
		send_worker_msg(q, w,"env %zu\n%s\n", strlen(var), var);
data/cctools-7.1.2/work_queue/src/work_queue.c:4347: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).
		f->length  = strlen(payload);
data/cctools-7.1.2/work_queue/src/work_queue.c:5312:21:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		mode_t old_mask = umask(0);
data/cctools-7.1.2/work_queue/src/work_queue.c:5313:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		umask(old_mask);
data/cctools-7.1.2/work_queue/src/work_queue_json_example.c:24:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t read;
data/cctools-7.1.2/work_queue/src/work_queue_process.c:312:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(img_name, va_arg(arg_lst, const char *), MAX_BUFFER_SIZE);
data/cctools-7.1.2/work_queue/src/work_queue_process.c:328:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(container_name, va_arg(arg_lst, const char *), MAX_BUFFER_SIZE);
data/cctools-7.1.2/work_queue/src/work_queue_status.c:346: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(buffer + spaces, name, max_size - spaces);
data/cctools-7.1.2/work_queue/src/work_queue_status.c:373:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int branch_len = strlen(project_name) + spaces + 2;
data/cctools-7.1.2/work_queue/src/work_queue_test.c:57: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(category && strlen(category) > 0)
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:582: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).
			output_length = strlen(t->output);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:1435:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(filename, f, WORK_QUEUE_LINE_MAX); free(f);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2047:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(m->host, ifa_addr, LINK_ADDRESS_MAX);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2061:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(m->host, addr, LINK_ADDRESS_MAX);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2137:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(last_addr->host, addr, DOMAIN_NAME_MAX);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2151: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).
	md5_buffer(salt_and_pepper, strlen(salt_and_pepper), digest);
data/cctools-7.1.2/work_queue/src/work_queue_worker.c:2208:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(m->host, next_master, LINK_ADDRESS_MAX);

ANALYSIS SUMMARY:

Hits = 4427
Lines analyzed = 316123 in approximately 9.51 seconds (33242 lines/second)
Physical Source Lines of Code (SLOC) = 207170
Hits@level = [0] 2762 [1] 789 [2] 2459 [3] 235 [4] 853 [5]  91
Hits@level+ = [0+] 7189 [1+] 4427 [2+] 3638 [3+] 1179 [4+] 944 [5+]  91
Hits/KSLOC@level+ = [0+] 34.701 [1+] 21.3689 [2+] 17.5605 [3+] 5.69098 [4+] 4.55664 [5+] 0.439253
Symlinks skipped = 4 (--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.