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/nghttp2-1.41.0/tests/nghttp2_buf_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_helper_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_npn_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_hd_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_session_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_stream_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_frame_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_queue_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_map_test.c
Examining data/nghttp2-1.41.0/tests/nghttp2_pq_test.c
Examining data/nghttp2-1.41.0/tests/main.c
Examining data/nghttp2-1.41.0/tests/nghttp2_buf_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_helper_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_npn_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_hd_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_stream_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_frame_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_session_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_queue_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_map_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_pq_test.h
Examining data/nghttp2-1.41.0/tests/nghttp2_test_helper.h
Examining data/nghttp2-1.41.0/tests/nghttp2_test_helper.c
Examining data/nghttp2-1.41.0/tests/malloc_wrapper.h
Examining data/nghttp2-1.41.0/tests/malloc_wrapper.c
Examining data/nghttp2-1.41.0/tests/failmalloc_test.h
Examining data/nghttp2-1.41.0/tests/failmalloc_test.c
Examining data/nghttp2-1.41.0/tests/failmalloc.c
Examining data/nghttp2-1.41.0/examples/libevent-server.c
Examining data/nghttp2-1.41.0/examples/libevent-client.c
Examining data/nghttp2-1.41.0/examples/deflate.c
Examining data/nghttp2-1.41.0/examples/client.c
Examining data/nghttp2-1.41.0/examples/asio-sv2.cc
Examining data/nghttp2-1.41.0/examples/asio-sv.cc
Examining data/nghttp2-1.41.0/examples/asio-cl2.cc
Examining data/nghttp2-1.41.0/examples/asio-cl.cc
Examining data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h
Examining data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_client.h
Examining data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2.h
Examining data/nghttp2-1.41.0/src/base64_test.h
Examining data/nghttp2-1.41.0/src/base64_test.cc
Examining data/nghttp2-1.41.0/src/template_test.h
Examining data/nghttp2-1.41.0/src/template_test.cc
Examining data/nghttp2-1.41.0/src/memchunk_test.h
Examining data/nghttp2-1.41.0/src/memchunk_test.cc
Examining data/nghttp2-1.41.0/src/buffer_test.h
Examining data/nghttp2-1.41.0/src/buffer_test.cc
Examining data/nghttp2-1.41.0/src/nghttp2_gzip_test.h
Examining data/nghttp2-1.41.0/src/nghttp2_gzip_test.c
Examining data/nghttp2-1.41.0/src/util_test.h
Examining data/nghttp2-1.41.0/src/util_test.cc
Examining data/nghttp2-1.41.0/src/http2_test.h
Examining data/nghttp2-1.41.0/src/http2_test.cc
Examining data/nghttp2-1.41.0/src/shrpx_router_test.h
Examining data/nghttp2-1.41.0/src/shrpx_router_test.cc
Examining data/nghttp2-1.41.0/src/shrpx_http_test.h
Examining data/nghttp2-1.41.0/src/shrpx_http_test.cc
Examining data/nghttp2-1.41.0/src/shrpx_worker_test.h
Examining data/nghttp2-1.41.0/src/shrpx_worker_test.cc
Examining data/nghttp2-1.41.0/src/shrpx_config_test.h
Examining data/nghttp2-1.41.0/src/shrpx_config_test.cc
Examining data/nghttp2-1.41.0/src/shrpx_downstream_test.h
Examining data/nghttp2-1.41.0/src/shrpx_downstream_test.cc
Examining data/nghttp2-1.41.0/src/shrpx_tls_test.h
Examining data/nghttp2-1.41.0/src/shrpx_tls_test.cc
Examining data/nghttp2-1.41.0/src/shrpx-unittest.cc
Examining data/nghttp2-1.41.0/src/shrpx.h
Examining data/nghttp2-1.41.0/src/shrpx.cc
Examining data/nghttp2-1.41.0/src/HttpServer.h
Examining data/nghttp2-1.41.0/src/HttpServer.cc
Examining data/nghttp2-1.41.0/src/nghttpd.cc
Examining data/nghttp2-1.41.0/src/HtmlParser.h
Examining data/nghttp2-1.41.0/src/HtmlParser.cc
Examining data/nghttp2-1.41.0/src/nghttp.h
Examining data/nghttp2-1.41.0/src/nghttp.cc
Examining data/nghttp2-1.41.0/src/network.h
Examining data/nghttp2-1.41.0/src/nghttp2_gzip.h
Examining data/nghttp2-1.41.0/src/nghttp2_config.h
Examining data/nghttp2-1.41.0/src/nghttp2_gzip.c
Examining data/nghttp2-1.41.0/src/inflatehd.cc
Examining data/nghttp2-1.41.0/src/h2load_http1_session.h
Examining data/nghttp2-1.41.0/src/h2load_http1_session.cc
Examining data/nghttp2-1.41.0/src/h2load_http2_session.h
Examining data/nghttp2-1.41.0/src/h2load_http2_session.cc
Examining data/nghttp2-1.41.0/src/h2load_session.h
Examining data/nghttp2-1.41.0/src/h2load.h
Examining data/nghttp2-1.41.0/src/h2load.cc
Examining data/nghttp2-1.41.0/src/comp_helper.h
Examining data/nghttp2-1.41.0/src/comp_helper.c
Examining data/nghttp2-1.41.0/src/deflatehd.cc
Examining data/nghttp2-1.41.0/src/asio_client_tls_context.h
Examining data/nghttp2-1.41.0/src/asio_client_tls_context.cc
Examining data/nghttp2-1.41.0/src/asio_client_stream.h
Examining data/nghttp2-1.41.0/src/asio_client_stream.cc
Examining data/nghttp2-1.41.0/src/asio_client_request_impl.h
Examining data/nghttp2-1.41.0/src/asio_client_request_impl.cc
Examining data/nghttp2-1.41.0/src/asio_client_request.cc
Examining data/nghttp2-1.41.0/src/asio_client_response_impl.h
Examining data/nghttp2-1.41.0/src/asio_client_response_impl.cc
Examining data/nghttp2-1.41.0/src/asio_client_response.cc
Examining data/nghttp2-1.41.0/src/asio_client_session_tls_impl.h
Examining data/nghttp2-1.41.0/src/asio_client_session_tls_impl.cc
Examining data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.h
Examining data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.cc
Examining data/nghttp2-1.41.0/src/asio_client_session_impl.h
Examining data/nghttp2-1.41.0/src/asio_client_session_impl.cc
Examining data/nghttp2-1.41.0/src/asio_client_session.cc
Examining data/nghttp2-1.41.0/src/asio_server_tls_context.h
Examining data/nghttp2-1.41.0/src/asio_server_tls_context.cc
Examining data/nghttp2-1.41.0/src/asio_server_request_handler.h
Examining data/nghttp2-1.41.0/src/asio_server_request_handler.cc
Examining data/nghttp2-1.41.0/src/asio_server_serve_mux.h
Examining data/nghttp2-1.41.0/src/asio_server_serve_mux.cc
Examining data/nghttp2-1.41.0/src/asio_server_stream.h
Examining data/nghttp2-1.41.0/src/asio_server_stream.cc
Examining data/nghttp2-1.41.0/src/asio_server_response_impl.h
Examining data/nghttp2-1.41.0/src/asio_server_response_impl.cc
Examining data/nghttp2-1.41.0/src/asio_server_response.cc
Examining data/nghttp2-1.41.0/src/asio_server_request_impl.h
Examining data/nghttp2-1.41.0/src/asio_server_request_impl.cc
Examining data/nghttp2-1.41.0/src/asio_server_request.cc
Examining data/nghttp2-1.41.0/src/asio_server_connection.h
Examining data/nghttp2-1.41.0/src/asio_server_http2_handler.h
Examining data/nghttp2-1.41.0/src/asio_server_http2_handler.cc
Examining data/nghttp2-1.41.0/src/asio_server.h
Examining data/nghttp2-1.41.0/src/asio_server.cc
Examining data/nghttp2-1.41.0/src/asio_server_http2_impl.h
Examining data/nghttp2-1.41.0/src/asio_server_http2_impl.cc
Examining data/nghttp2-1.41.0/src/asio_server_http2.cc
Examining data/nghttp2-1.41.0/src/asio_io_service_pool.h
Examining data/nghttp2-1.41.0/src/asio_io_service_pool.cc
Examining data/nghttp2-1.41.0/src/asio_common.h
Examining data/nghttp2-1.41.0/src/asio_common.cc
Examining data/nghttp2-1.41.0/src/ssl_compat.h
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module_response.h
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module_response.cc
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module_request.h
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module_request.cc
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module_env.h
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module_env.cc
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module.h
Examining data/nghttp2-1.41.0/src/shrpx_mruby_module.cc
Examining data/nghttp2-1.41.0/src/shrpx_mruby.h
Examining data/nghttp2-1.41.0/src/shrpx_mruby.cc
Examining data/nghttp2-1.41.0/src/xsi_strerror.h
Examining data/nghttp2-1.41.0/src/xsi_strerror.c
Examining data/nghttp2-1.41.0/src/allocator.h
Examining data/nghttp2-1.41.0/src/template.h
Examining data/nghttp2-1.41.0/src/memchunk.h
Examining data/nghttp2-1.41.0/src/buffer.h
Examining data/nghttp2-1.41.0/src/shrpx_dns_tracker.h
Examining data/nghttp2-1.41.0/src/shrpx_dns_tracker.cc
Examining data/nghttp2-1.41.0/src/shrpx_dual_dns_resolver.h
Examining data/nghttp2-1.41.0/src/shrpx_dual_dns_resolver.cc
Examining data/nghttp2-1.41.0/src/shrpx_dns_resolver.h
Examining data/nghttp2-1.41.0/src/shrpx_dns_resolver.cc
Examining data/nghttp2-1.41.0/src/shrpx_exec.h
Examining data/nghttp2-1.41.0/src/shrpx_exec.cc
Examining data/nghttp2-1.41.0/src/shrpx_health_monitor_downstream_connection.h
Examining data/nghttp2-1.41.0/src/shrpx_health_monitor_downstream_connection.cc
Examining data/nghttp2-1.41.0/src/shrpx_api_downstream_connection.h
Examining data/nghttp2-1.41.0/src/shrpx_api_downstream_connection.cc
Examining data/nghttp2-1.41.0/src/shrpx_router.h
Examining data/nghttp2-1.41.0/src/shrpx_router.cc
Examining data/nghttp2-1.41.0/src/shrpx_signal.h
Examining data/nghttp2-1.41.0/src/shrpx_signal.cc
Examining data/nghttp2-1.41.0/src/shrpx_process.h
Examining data/nghttp2-1.41.0/src/shrpx_worker_process.h
Examining data/nghttp2-1.41.0/src/shrpx_worker_process.cc
Examining data/nghttp2-1.41.0/src/shrpx_memcached_result.h
Examining data/nghttp2-1.41.0/src/shrpx_memcached_request.h
Examining data/nghttp2-1.41.0/src/shrpx_memcached_connection.h
Examining data/nghttp2-1.41.0/src/shrpx_memcached_connection.cc
Examining data/nghttp2-1.41.0/src/shrpx_memcached_dispatcher.h
Examining data/nghttp2-1.41.0/src/shrpx_memcached_dispatcher.cc
Examining data/nghttp2-1.41.0/src/shrpx_connection.h
Examining data/nghttp2-1.41.0/src/shrpx_connection.cc
Examining data/nghttp2-1.41.0/src/shrpx_rate_limit.h
Examining data/nghttp2-1.41.0/src/shrpx_rate_limit.cc
Examining data/nghttp2-1.41.0/src/shrpx_downstream_connection_pool.h
Examining data/nghttp2-1.41.0/src/shrpx_downstream_connection_pool.cc
Examining data/nghttp2-1.41.0/src/shrpx_live_check.h
Examining data/nghttp2-1.41.0/src/shrpx_live_check.cc
Examining data/nghttp2-1.41.0/src/shrpx_connect_blocker.h
Examining data/nghttp2-1.41.0/src/shrpx_connect_blocker.cc
Examining data/nghttp2-1.41.0/src/shrpx_log_config.h
Examining data/nghttp2-1.41.0/src/shrpx_log_config.cc
Examining data/nghttp2-1.41.0/src/shrpx_worker.h
Examining data/nghttp2-1.41.0/src/shrpx_worker.cc
Examining data/nghttp2-1.41.0/src/shrpx_tls.h
Examining data/nghttp2-1.41.0/src/shrpx_tls.cc
Examining data/nghttp2-1.41.0/src/shrpx_io_control.h
Examining data/nghttp2-1.41.0/src/shrpx_io_control.cc
Examining data/nghttp2-1.41.0/src/shrpx_http.h
Examining data/nghttp2-1.41.0/src/shrpx_http.cc
Examining data/nghttp2-1.41.0/src/shrpx_log.h
Examining data/nghttp2-1.41.0/src/shrpx_log.cc
Examining data/nghttp2-1.41.0/src/shrpx_downstream_queue.h
Examining data/nghttp2-1.41.0/src/shrpx_downstream_queue.cc
Examining data/nghttp2-1.41.0/src/shrpx_http2_session.h
Examining data/nghttp2-1.41.0/src/shrpx_http2_session.cc
Examining data/nghttp2-1.41.0/src/shrpx_http2_downstream_connection.h
Examining data/nghttp2-1.41.0/src/shrpx_http2_downstream_connection.cc
Examining data/nghttp2-1.41.0/src/shrpx_http_downstream_connection.h
Examining data/nghttp2-1.41.0/src/shrpx_http_downstream_connection.cc
Examining data/nghttp2-1.41.0/src/shrpx_downstream_connection.h
Examining data/nghttp2-1.41.0/src/shrpx_downstream_connection.cc
Examining data/nghttp2-1.41.0/src/shrpx_downstream.h
Examining data/nghttp2-1.41.0/src/shrpx_downstream.cc
Examining data/nghttp2-1.41.0/src/shrpx_https_upstream.h
Examining data/nghttp2-1.41.0/src/shrpx_https_upstream.cc
Examining data/nghttp2-1.41.0/src/shrpx_http2_upstream.h
Examining data/nghttp2-1.41.0/src/shrpx_http2_upstream.cc
Examining data/nghttp2-1.41.0/src/shrpx_upstream.h
Examining data/nghttp2-1.41.0/src/shrpx_client_handler.h
Examining data/nghttp2-1.41.0/src/shrpx_client_handler.cc
Examining data/nghttp2-1.41.0/src/shrpx_connection_handler.h
Examining data/nghttp2-1.41.0/src/shrpx_connection_handler.cc
Examining data/nghttp2-1.41.0/src/shrpx_accept_handler.h
Examining data/nghttp2-1.41.0/src/shrpx_accept_handler.cc
Examining data/nghttp2-1.41.0/src/shrpx_error.h
Examining data/nghttp2-1.41.0/src/shrpx_config.h
Examining data/nghttp2-1.41.0/src/shrpx_config.cc
Examining data/nghttp2-1.41.0/src/tls.h
Examining data/nghttp2-1.41.0/src/tls.cc
Examining data/nghttp2-1.41.0/src/app_helper.h
Examining data/nghttp2-1.41.0/src/app_helper.cc
Examining data/nghttp2-1.41.0/src/base64.h
Examining data/nghttp2-1.41.0/src/timegm.h
Examining data/nghttp2-1.41.0/src/timegm.c
Examining data/nghttp2-1.41.0/src/http2.h
Examining data/nghttp2-1.41.0/src/http2.cc
Examining data/nghttp2-1.41.0/src/util.h
Examining data/nghttp2-1.41.0/src/util.cc
Examining data/nghttp2-1.41.0/third-party/url-parser/url_parser.h
Examining data/nghttp2-1.41.0/third-party/url-parser/url_parser.c
Examining data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.h
Examining data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/vm.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/version.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/variable.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/value_array.h
Examining data/nghttp2-1.41.0/third-party/mruby/src/symbol.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/string.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/state.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/range.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/proc.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/print.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/pool.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/opcode.h
Examining data/nghttp2-1.41.0/third-party/mruby/src/object.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/numeric.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/load.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/kernel.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/init.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/hash.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/gc.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/etc.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/error.h
Examining data/nghttp2-1.41.0/third-party/mruby/src/error.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/enum.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/dump.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/debug.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/crc.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/compar.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/codedump.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/class.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/backtrace.c
Examining data/nghttp2-1.41.0/third-party/mruby/src/array.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrblib/init_mrblib.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/src/time.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/include/mruby/time.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-test/driver.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-symbol-ext/src/symbol.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-struct/src/struct.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-string-ext/src/string.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/kernel.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/test/sockettest.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sleep/src/mrb_sleep.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-range-ext/src/range.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/mt19937ar.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/mt19937ar.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-proc-ext/test/proc.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-proc-ext/src/proc.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-print/src/print.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-objectspace/src/mruby_objectspace.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-object-ext/src/object.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-numeric-ext/src/numeric_ext.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-method/src/method.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-metaprog/src/metaprog.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-math/src/math.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-kernel-ext/src/kernel.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/mruby_io_gem.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file_test.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/include/mruby/ext/io.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-inline-struct/test/inline.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-hash-ext/src/hash-ext.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-fiber/src/fiber.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-exit/src/mruby-exit.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-eval/src/eval.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-error/test/exception.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-error/src/exception.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-compiler/core/node.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-compiler/core/codegen.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-class-ext/src/class.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdberror.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdprint.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c
Examining data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-array-ext/src/array.c
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/version.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/variable.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/value.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/throw.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/string.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/re.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/range.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/proc.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/ops.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/opcode.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/object.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/numeric.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/khash.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/istruct.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/irep.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/hash.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/gc.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/error.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/dump.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/debug.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/data.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/compile.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/common.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/class.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/boxing_word.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/boxing_no.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/boxing_nan.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby/array.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mruby.h
Examining data/nghttp2-1.41.0/third-party/mruby/include/mrbconf.h
Examining data/nghttp2-1.41.0/third-party/mruby/examples/mrbgems/c_extension_example/test/example.c
Examining data/nghttp2-1.41.0/third-party/mruby/examples/mrbgems/c_extension_example/src/example.c
Examining data/nghttp2-1.41.0/third-party/mruby/examples/mrbgems/c_and_ruby_extension_example/src/example.c
Examining data/nghttp2-1.41.0/third-party/llhttp/src/llhttp.c
Examining data/nghttp2-1.41.0/third-party/llhttp/src/http.c
Examining data/nghttp2-1.41.0/third-party/llhttp/src/api.c
Examining data/nghttp2-1.41.0/third-party/llhttp/include/llhttp.h
Examining data/nghttp2-1.41.0/lib/nghttp2_debug.c
Examining data/nghttp2-1.41.0/lib/nghttp2_rcbuf.c
Examining data/nghttp2-1.41.0/lib/nghttp2_http.c
Examining data/nghttp2-1.41.0/lib/nghttp2_mem.c
Examining data/nghttp2-1.41.0/lib/nghttp2_callbacks.c
Examining data/nghttp2-1.41.0/lib/nghttp2_option.c
Examining data/nghttp2-1.41.0/lib/nghttp2_priority_spec.c
Examining data/nghttp2-1.41.0/lib/nghttp2_version.c
Examining data/nghttp2-1.41.0/lib/nghttp2_hd_huffman_data.c
Examining data/nghttp2-1.41.0/lib/nghttp2_hd_huffman.c
Examining data/nghttp2-1.41.0/lib/nghttp2_hd.c
Examining data/nghttp2-1.41.0/lib/nghttp2_npn.c
Examining data/nghttp2-1.41.0/lib/nghttp2_helper.c
Examining data/nghttp2-1.41.0/lib/nghttp2_submit.c
Examining data/nghttp2-1.41.0/lib/nghttp2_session.c
Examining data/nghttp2-1.41.0/lib/nghttp2_outbound_item.c
Examining data/nghttp2-1.41.0/lib/nghttp2_stream.c
Examining data/nghttp2-1.41.0/lib/nghttp2_buf.c
Examining data/nghttp2-1.41.0/lib/nghttp2_frame.c
Examining data/nghttp2-1.41.0/lib/nghttp2_queue.c
Examining data/nghttp2-1.41.0/lib/nghttp2_map.c
Examining data/nghttp2-1.41.0/lib/nghttp2_pq.c
Examining data/nghttp2-1.41.0/lib/nghttp2_debug.h
Examining data/nghttp2-1.41.0/lib/nghttp2_rcbuf.h
Examining data/nghttp2-1.41.0/lib/nghttp2_http.h
Examining data/nghttp2-1.41.0/lib/nghttp2_mem.h
Examining data/nghttp2-1.41.0/lib/nghttp2_callbacks.h
Examining data/nghttp2-1.41.0/lib/nghttp2_option.h
Examining data/nghttp2-1.41.0/lib/nghttp2_priority_spec.h
Examining data/nghttp2-1.41.0/lib/nghttp2_hd_huffman.h
Examining data/nghttp2-1.41.0/lib/nghttp2_hd.h
Examining data/nghttp2-1.41.0/lib/nghttp2_net.h
Examining data/nghttp2-1.41.0/lib/nghttp2_outbound_item.h
Examining data/nghttp2-1.41.0/lib/nghttp2_submit.h
Examining data/nghttp2-1.41.0/lib/nghttp2_npn.h
Examining data/nghttp2-1.41.0/lib/nghttp2_stream.h
Examining data/nghttp2-1.41.0/lib/nghttp2_helper.h
Examining data/nghttp2-1.41.0/lib/nghttp2_session.h
Examining data/nghttp2-1.41.0/lib/nghttp2_buf.h
Examining data/nghttp2-1.41.0/lib/nghttp2_frame.h
Examining data/nghttp2-1.41.0/lib/nghttp2_queue.h
Examining data/nghttp2-1.41.0/lib/nghttp2_map.h
Examining data/nghttp2-1.41.0/lib/nghttp2_int.h
Examining data/nghttp2-1.41.0/lib/nghttp2_pq.h
Examining data/nghttp2-1.41.0/lib/includes/nghttp2/nghttp2ver.h
Examining data/nghttp2-1.41.0/lib/includes/nghttp2/nghttp2.h

FINAL RESULTS:

data/nghttp2-1.41.0/src/shrpx.cc:354:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    if (chown(pid_file.c_str(), config->uid, config->gid) == -1) {
data/nghttp2-1.41.0/src/shrpx.cc:1120:13:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        if (chown(addr.host.c_str(), config->uid, config->gid) == -1) {
data/nghttp2-1.41.0/src/shrpx.cc:2954:13:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        if (chown(path, config->uid, config->gid) == -1) {
data/nghttp2-1.41.0/src/shrpx.cc:2976:13:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        if (chown(path, config->uid, config->gid) == -1) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:44:23:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  #define CHMOD(a, b) chmod(a,b)
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:449: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.
  while ((rc = readlink(tmp, buf, bufsize)) == (ssize_t)bufsize && rc != -1) {
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:1160:13:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        if (chown(daemon_vars.nb->sun_.sun_path, pw->pw_uid, pw->pw_gid) != 0)
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:1163:13:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        if (chown(dir, pw->pw_uid, pw->pw_gid) != 0)
data/nghttp2-1.41.0/examples/asio-cl.cc:41:12:  [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.
    boost::system::error_code ec;
data/nghttp2-1.41.0/examples/asio-cl.cc:62:14:  [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.
      boost::system::error_code ec;
data/nghttp2-1.41.0/examples/asio-cl.cc:86:35:  [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.
    sess.on_error([](const boost::system::error_code &ec) {
data/nghttp2-1.41.0/examples/asio-cl2.cc:65:12:  [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.
    boost::system::error_code ec;
data/nghttp2-1.41.0/examples/asio-cl2.cc:87:14:  [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.
      boost::system::error_code ec;
data/nghttp2-1.41.0/examples/asio-cl2.cc:124:35:  [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.
    sess.on_error([](const boost::system::error_code &ec) {
data/nghttp2-1.41.0/examples/asio-sv.cc:55:12:  [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.
    boost::system::error_code ec;
data/nghttp2-1.41.0/examples/asio-sv.cc:74:14:  [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.
      boost::system::error_code ec;
data/nghttp2-1.41.0/examples/asio-sv.cc:96:53:  [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.
      timer->async_wait([&res, closed](const boost::system::error_code &ec) {
data/nghttp2-1.41.0/examples/asio-sv2.cc:61:12:  [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.
    boost::system::error_code ec;
data/nghttp2-1.41.0/examples/libevent-client.c:32:34:  [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 warnx(format, args...) fprintf(stderr, format "\n", ##args)
data/nghttp2-1.41.0/examples/libevent-server.c:32:34:  [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 warnx(format, args...) fprintf(stderr, format "\n", ##args)
data/nghttp2-1.41.0/lib/nghttp2_debug.c:33: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/nghttp2-1.41.0/lib/nghttp2_session.c:167:8:  [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.
  rv = vsnprintf(NULL, 0, fmt, ap);
data/nghttp2-1.41.0/lib/nghttp2_session.c:182:8:  [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.
  rv = vsnprintf(buf, bufsize, fmt, ap);
data/nghttp2-1.41.0/src/asio_client_session.cc:115:39:  [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.
const request *session::submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session.cc:123:39:  [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.
const request *session::submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session.cc:131:39:  [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.
const request *session::submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:76:47:  [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.
                          [self](const boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:106:32:  [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.
void handle_ping2(const boost::system::error_code &ec, int) {}
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:114:45:  [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.
void session_impl::handle_ping(const boost::system::error_code &ec) {
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:145:47:  [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.
void session_impl::not_connected(const boost::system::error_code &ec) {
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:158:47:  [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.
void session_impl::call_error_cb(const boost::system::error_code &ec) {
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:479:44:  [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.
const request *session_impl::submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:493:33:  [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.
    ec = make_error_code(boost::system::errc::invalid_argument);
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:499:33:  [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.
    ec = make_error_code(boost::system::errc::invalid_argument);
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:629:35:  [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.
  read_socket([self](const boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session_impl.cc:726:36:  [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.
  write_socket([self](const boost::system::error_code &ec, std::size_t n) {
data/nghttp2-1.41.0/src/asio_client_session_impl.h:53:35:  [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.
  void not_connected(const boost::system::error_code &ec);
data/nghttp2-1.41.0/src/asio_client_session_impl.h:71:32:  [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.
  const request *submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session_impl.h:78:39:  [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.
      std::function<void(const boost::system::error_code &ec, std::size_t n)>
data/nghttp2-1.41.0/src/asio_client_session_impl.h:81:39:  [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.
      std::function<void(const boost::system::error_code &ec, std::size_t n)>
data/nghttp2-1.41.0/src/asio_client_session_impl.h:110:35:  [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.
  void call_error_cb(const boost::system::error_code &ec);
data/nghttp2-1.41.0/src/asio_client_session_impl.h:113:33:  [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.
  void handle_ping(const boost::system::error_code &ec);
data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.cc:54:54:  [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.
      *endpoint_it, [self, endpoint_it](const boost::system::error_code &ec) {
data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.cc:71:37:  [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.
    std::function<void(const boost::system::error_code &ec, std::size_t n)> h) {
data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.cc:76:37:  [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.
    std::function<void(const boost::system::error_code &ec, std::size_t n)> h) {
data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.cc:81: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.
  boost::system::error_code ignored_ec;
data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.h:52:39:  [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.
      std::function<void(const boost::system::error_code &ec, std::size_t n)>
data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.h:55:39:  [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.
      std::function<void(const boost::system::error_code &ec, std::size_t n)>
data/nghttp2-1.41.0/src/asio_client_session_tls_impl.cc:53:27:  [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.
      [self](const boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_client_session_tls_impl.cc:66:46:  [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.
            [self, endpoint_it](const boost::system::error_code &ec) {
data/nghttp2-1.41.0/src/asio_client_session_tls_impl.cc:90:37:  [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.
    std::function<void(const boost::system::error_code &ec, std::size_t n)> h) {
data/nghttp2-1.41.0/src/asio_client_session_tls_impl.cc:95:37:  [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.
    std::function<void(const boost::system::error_code &ec, std::size_t n)> h) {
data/nghttp2-1.41.0/src/asio_client_session_tls_impl.cc:100: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.
  boost::system::error_code ignored_ec;
data/nghttp2-1.41.0/src/asio_client_session_tls_impl.h:51:39:  [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.
      std::function<void(const boost::system::error_code &ec, std::size_t n)>
data/nghttp2-1.41.0/src/asio_client_session_tls_impl.h:54:39:  [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.
      std::function<void(const boost::system::error_code &ec, std::size_t n)>
data/nghttp2-1.41.0/src/asio_client_tls_context.cc:52: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.
boost::system::error_code
data/nghttp2-1.41.0/src/asio_client_tls_context.cc:53:30:  [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.
configure_tls_context(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_common.cc:37:45:  [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.
class nghttp2_category_impl : public boost::system::error_category {
data/nghttp2-1.41.0/src/asio_common.cc:43:14:  [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.
const boost::system::error_category &nghttp2_category() noexcept {
data/nghttp2-1.41.0/src/asio_common.cc:48: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.
boost::system::error_code make_error_code(nghttp2_error ev) {
data/nghttp2-1.41.0/src/asio_common.cc:49:17:  [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.
  return boost::system::error_code(static_cast<int>(ev), nghttp2_category());
data/nghttp2-1.41.0/src/asio_common.cc:52:50:  [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.
class nghttp2_asio_category_impl : public boost::system::error_category {
data/nghttp2-1.41.0/src/asio_common.cc:67:14:  [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.
const boost::system::error_category &nghttp2_asio_category() noexcept {
data/nghttp2-1.41.0/src/asio_common.cc:72: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.
boost::system::error_code make_error_code(nghttp2_asio_error ev) {
data/nghttp2-1.41.0/src/asio_common.cc:73:17:  [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.
  return boost::system::error_code(static_cast<int>(ev),
data/nghttp2-1.41.0/src/asio_common.cc:143: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.
boost::system::error_code host_service_from_uri(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_common.cc:143:56:  [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.
boost::system::error_code host_service_from_uri(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_common.cc:152:33:  [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.
    ec = make_error_code(boost::system::errc::invalid_argument);
data/nghttp2-1.41.0/src/asio_common.cc:158:33:  [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.
    ec = make_error_code(boost::system::errc::invalid_argument);
data/nghttp2-1.41.0/src/asio_common.h:40: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.
boost::system::error_code make_error_code(nghttp2_error ev);
data/nghttp2-1.41.0/src/asio_common.h:42: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.
boost::system::error_code make_error_code(nghttp2_asio_error ev);
data/nghttp2-1.41.0/src/asio_server.cc:54: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.
boost::system::error_code
data/nghttp2-1.41.0/src/asio_server.cc:55:33:  [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.
server::listen_and_serve(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server.cc:78: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.
boost::system::error_code server::bind_and_listen(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server.cc:78:58:  [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.
boost::system::error_code server::bind_and_listen(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server.cc:139:37:  [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.
       new_connection](const boost::system::error_code &e) {
data/nghttp2-1.41.0/src/asio_server.cc:146:45:  [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.
              [new_connection](const boost::system::error_code &e) {
data/nghttp2-1.41.0/src/asio_server.cc:177:50:  [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.
                                    const boost::system::error_code &e) {
data/nghttp2-1.41.0/src/asio_server.h:70: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.
  boost::system::error_code
data/nghttp2-1.41.0/src/asio_server.h:71:27:  [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.
  listen_and_serve(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server.h: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.
  boost::system::error_code bind_and_listen(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server.h:93:52:  [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.
  boost::system::error_code bind_and_listen(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server_connection.h:89:12:  [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.
    boost::system::error_code ec;
data/nghttp2-1.41.0/src/asio_server_connection.h:138:35:  [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.
        [this, self](const boost::system::error_code &e,
data/nghttp2-1.41.0/src/asio_server_connection.h:199:35:  [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.
        [this, self](const boost::system::error_code &e, std::size_t) {
data/nghttp2-1.41.0/src/asio_server_connection.h:222:12:  [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.
    boost::system::error_code ignored_ec;
data/nghttp2-1.41.0/src/asio_server_http2.cc:55: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.
boost::system::error_code http2::listen_and_serve(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server_http2.cc:55:58:  [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.
boost::system::error_code http2::listen_and_serve(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server_http2.cc: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.
boost::system::error_code http2::listen_and_serve(
data/nghttp2-1.41.0/src/asio_server_http2.cc:63:12:  [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.
    boost::system::error_code &ec, boost::asio::ssl::context &tls_context,
data/nghttp2-1.41.0/src/asio_server_http2_handler.cc:432:46:  [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.
response *http2_handler::push_promise(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server_http2_handler.h:85:33:  [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.
  response *push_promise(boost::system::error_code &ec, stream &s,
data/nghttp2-1.41.0/src/asio_server_http2_impl.cc:46: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.
boost::system::error_code http2_impl::listen_and_serve(
data/nghttp2-1.41.0/src/asio_server_http2_impl.cc:47:12:  [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.
    boost::system::error_code &ec, boost::asio::ssl::context *tls_context,
data/nghttp2-1.41.0/src/asio_server_http2_impl.h:45: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.
  boost::system::error_code listen_and_serve(
data/nghttp2-1.41.0/src/asio_server_http2_impl.h:46:14:  [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.
      boost::system::error_code &ec, boost::asio::ssl::context *tls_context,
data/nghttp2-1.41.0/src/asio_server_response.cc:57:39:  [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.
const response *response::push(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/asio_server_response_impl.cc:120:38:  [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.
response *response_impl::push(boost::system::error_code &ec, std::string method,
data/nghttp2-1.41.0/src/asio_server_response_impl.h:58:25:  [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.
  response *push(boost::system::error_code &ec, std::string method,
data/nghttp2-1.41.0/src/asio_server_tls_context.cc:60: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.
boost::system::error_code
data/nghttp2-1.41.0/src/asio_server_tls_context.cc:61:35:  [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.
configure_tls_context_easy(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2.h:58:14:  [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.
const boost::system::error_category &nghttp2_category() noexcept;
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2.h:76:41:  [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.
typedef std::function<void(const boost::system::error_code &ec)> error_cb;
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2.h:120: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.
boost::system::error_code host_service_from_uri(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2.h:120:56:  [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.
boost::system::error_code host_service_from_uri(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2.h:137: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.
namespace system {
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_client.h:211:32:  [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.
  const request *submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_client.h:221:32:  [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.
  const request *submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_client.h:231:32:  [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.
  const request *submit(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_client.h:242: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.
boost::system::error_code
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_client.h:243:30:  [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.
configure_tls_context(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h:108:31:  [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.
  const response *push(boost::system::error_code &ec, std::string method,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h:147: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.
  boost::system::error_code listen_and_serve(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h:147:53:  [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.
  boost::system::error_code listen_and_serve(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h:156: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.
  boost::system::error_code
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h:157:27:  [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.
  listen_and_serve(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h:227: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.
boost::system::error_code
data/nghttp2-1.41.0/src/includes/nghttp2/asio_http2_server.h:228:35:  [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.
configure_tls_context_easy(boost::system::error_code &ec,
data/nghttp2-1.41.0/src/shrpx.cc:1553:36:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    auto &accessconf = loggingconf.access;
data/nghttp2-1.41.0/src/shrpx.cc:2905:19:  [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 (loggingconf.access.syslog || loggingconf.error.syslog) {
data/nghttp2-1.41.0/src/shrpx.cc:2905:26:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (loggingconf.access.syslog || loggingconf.error.syslog) {
data/nghttp2-1.41.0/src/shrpx.cc:2905:54:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (loggingconf.access.syslog || loggingconf.error.syslog) {
data/nghttp2-1.41.0/src/shrpx_client_handler.cc:1080:23:  [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.
      config->logging.access.format,
data/nghttp2-1.41.0/src/shrpx_config.cc:2744:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    config->logging.access.file = make_string_ref(config->balloc, optarg);
data/nghttp2-1.41.0/src/shrpx_config.cc:2748:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    config->logging.access.syslog = util::strieq_l("yes", optarg);
data/nghttp2-1.41.0/src/shrpx_config.cc:2752:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    config->logging.access.format = parse_log_format(config->balloc, optarg);
data/nghttp2-1.41.0/src/shrpx_config.cc:3682:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    config->logging.access.write_early = util::strieq_l("yes", optarg);
data/nghttp2-1.41.0/src/shrpx_config.h:801:10:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
    bool syslog;
data/nghttp2-1.41.0/src/shrpx_config.h:805:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  } access;
data/nghttp2-1.41.0/src/shrpx_config.h:809:10:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
    bool syslog;
data/nghttp2-1.41.0/src/shrpx_exec.cc:96:10:  [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.
    rv = execv(argv[0], argv);
data/nghttp2-1.41.0/src/shrpx_http2_session.cc:1186:19:  [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 (loggingconf.access.write_early && downstream->accesslog_ready()) {
data/nghttp2-1.41.0/src/shrpx_http_downstream_connection.cc:999:19:  [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 (loggingconf.access.write_early && downstream->accesslog_ready()) {
data/nghttp2-1.41.0/src/shrpx_log.cc:169:48:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
      (lgconf->errorlog_fd == -1 && !errorconf.syslog)) {
data/nghttp2-1.41.0/src/shrpx_log.cc:173:17:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (errorconf.syslog) {
data/nghttp2-1.41.0/src/shrpx_log.cc:580:44:  [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.
  auto &accessconf = get_config()->logging.access;
data/nghttp2-1.41.0/src/shrpx_log.cc:582:49:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (lgconf->accesslog_fd == -1 && !accessconf.syslog) {
data/nghttp2-1.41.0/src/shrpx_log.cc:821:18:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (accessconf.syslog) {
data/nghttp2-1.41.0/src/shrpx_log.cc:841:34:  [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.
  auto &accessconf = loggingconf.access;
data/nghttp2-1.41.0/src/shrpx_log.cc:844:19:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (!accessconf.syslog && !accessconf.file.empty()) {
data/nghttp2-1.41.0/src/shrpx_log.cc:853:18:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (!errorconf.syslog && !errorconf.file.empty()) {
data/nghttp2-1.41.0/src/shrpx_log.cc:907:17:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  if (errorconf.syslog || lgconf->errorlog_fd == -1) {
data/nghttp2-1.41.0/third-party/mruby/include/mruby/value.h:82: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.
# define vsnprintf(s, n, format, arg) mrb_msvc_vsnprintf(s, n, format, arg)
data/nghttp2-1.41.0/third-party/mruby/include/mruby/value.h:83:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf(s, n, format, ...) mrb_msvc_snprintf(s, n, format, __VA_ARGS__)
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:55: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(path, dir);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:58: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(path, base);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:101: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, filename);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:155:7:  [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(found_newline ? "%s\n" : "%s", buf);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:113:7:  [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(BREAK_ERR_MSG_INVALIDBPNO, ps);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:118:7:  [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(BREAK_ERR_MSG_NOBPNO, bpno);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:142:7:  [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(BREAK_ERR_MSG_INVALIDSTR, args);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:162:5:  [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(BREAK_INFO_MSG_LINEBREAK,
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:167:7:  [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(BREAK_INFO_MSG_METHODBREAK_NOCLASS,
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:171:7:  [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(BREAK_INFO_MSG_METHODBREAK,
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:229:7:  [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(BREAK_ERR_MSG_NOBPNO_INFO, bpno);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:265:7:  [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(BREAK_ERR_MSG_INVALIDSTR, args);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:292:11:  [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(BREAK_ERR_MSG_INVALIDMETHOD, args);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:301:13:  [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(BREAK_ERR_MSG_INVALIDMETHOD, body);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:311:11:  [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(BREAK_ERR_MSG_INVALIDCLASS, args);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:350:7:  [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(BREAK_SET_MSG_LINE, ret, file, line);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:353:7:  [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(BREAK_SET_MSG_METHOD, ret, method);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:356:7:  [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(BREAK_SET_MSG_CLASS_METHOD, ret, cname, method);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:362:9:  [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(BREAK_ERR_MSG_INVALIDLINENO, line, file);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:365:9:  [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(BREAK_ERR_MSG_INVALIDFILE, file);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:268: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(s, ext);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:556: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(last_code_line, line);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:568: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(ruby_code, last_code_line);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:574: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(ruby_code, last_code_line);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:253:3:  [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", pname, (char *)NULL);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:868:11:  [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(nbuf, sizeof(nbuf), "%" MRB_PRId, v);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:888:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(++s, sizeof(nbuf)-1, "%" MRB_PRIo, v);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:891:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf(++s, sizeof(nbuf)-1, "%" MRB_PRIx, v);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:1073: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.
        n = snprintf(&buf[blen], need, fbuf, fval);
data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c:384: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(buf, sizeof(buf), fmt, mrb_float(flo));
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:84:5:  [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/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:90:23:  [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))) static void warnf(const char *fmt, ...)
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:99:23:  [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), noreturn)) static void dief(const char *fmt, ...)
data/nghttp2-1.41.0/src/deflatehd.cc:392: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.
    int c = getopt_long(argc, argv, "S:dhs:t", long_options, &option_index);
data/nghttp2-1.41.0/src/h2load.cc:2052: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.
    auto c = getopt_long(argc, argv,
data/nghttp2-1.41.0/src/inflatehd.cc:263: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.
    int c = getopt_long(argc, argv, "dh", long_options, &option_index);
data/nghttp2-1.41.0/src/nghttp.cc:2808:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        getopt_long(argc, argv, "M:Oab:c:d:m:np:r:hH:vst:uw:yW:", long_options,
data/nghttp2-1.41.0/src/nghttpd.cc:233: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.
    int c = getopt_long(argc, argv, "DVb:c:d:ehm:n:p:va:w:W:", long_options,
data/nghttp2-1.41.0/src/shrpx.cc:941: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.
    auto portenv = getenv(ENV_PORT.c_str());
data/nghttp2-1.41.0/src/shrpx.cc:945: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.
        auto fdenv = getenv(env_name.c_str());
data/nghttp2-1.41.0/src/shrpx.cc:957:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if (getenv(ENV_UNIX_PATH.c_str()) && getenv(ENV_UNIX_FD.c_str())) {
data/nghttp2-1.41.0/src/shrpx.cc:957:44:  [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_UNIX_PATH.c_str()) && getenv(ENV_UNIX_FD.c_str())) {
data/nghttp2-1.41.0/src/shrpx.cc:961: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.
        value += getenv(ENV_UNIX_FD.c_str());
data/nghttp2-1.41.0/src/shrpx.cc:963: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.
        value += getenv(ENV_UNIX_PATH.c_str());
data/nghttp2-1.41.0/src/shrpx.cc:972: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.
    auto env = getenv(name.c_str());
data/nghttp2-1.41.0/src/shrpx.cc:1098: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.
  auto s = getenv(ENV_ORIG_PID.c_str());
data/nghttp2-1.41.0/src/shrpx.cc:1145: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.
  if (sd_booted() && (getenv("NOTIFY_SOCKET") != nullptr)) {
data/nghttp2-1.41.0/src/shrpx.cc:3526: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.
    int c = getopt_long(argc, argv, "DL:b:c:f:hkn:opsv", long_options,
data/nghttp2-1.41.0/src/util_test.cc:447:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  auto tz = getenv("TZ");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:69: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 *home = getenv("HOME");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:73: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.
    home = getenv("USERPROFILE");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:37: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.
  #define realpath(N,R) _fullpath((R),(N),_MAX_PATH)
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:253: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(cpath, RSTRING_PTR(result)) == NULL) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:295: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.
    home = getenv("HOME");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:320: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.
    home = getenv("USERPROFILE");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:377:10:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    if (!CreateProcess(
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:377:10:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    if (!CreateProcess(
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:111:31:  [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.
  return mrb_random_rand(mrb, random);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:118:32:  [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.
  return mrb_random_srand(mrb, random);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:209:30:  [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.
    mrb_get_args(mrb, "|d", &random, &mt_state_type);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:214:31:  [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.
    mrb_random_rand_seed(mrb, random);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:224:46:  [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.
      j = mrb_fixnum(mrb_random_mt_rand(mrb, random, mrb_fixnum_value(RARRAY_LEN(ary))));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:274:42:  [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.
  mrb_get_args(mrb, "|i?d", &n, &given, &random, &mt_state_type);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:278:29:  [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.
  mrb_random_rand_seed(mrb, random);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:279:11:  [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.
  mt_rand(random);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:288:38:  [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.
      return RARRAY_PTR(ary)[mt_rand(random) % len];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:303:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        r = mt_rand(random) % len;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:324:18:  [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.
  struct RClass *random;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:331:23:  [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.
  MRB_SET_INSTANCE_TT(random, MRB_TT_DATA);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:332:32:  [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.
  mrb_define_class_method(mrb, random, "rand", mrb_random_g_rand, MRB_ARGS_OPT(1));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:333:32:  [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.
  mrb_define_class_method(mrb, random, "srand", mrb_random_g_srand, MRB_ARGS_OPT(1));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:335:26:  [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.
  mrb_define_method(mrb, random, "initialize", mrb_random_init, MRB_ARGS_OPT(1));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:336:26:  [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.
  mrb_define_method(mrb, random, "rand", mrb_random_rand, MRB_ARGS_OPT(1));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:337:26:  [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.
  mrb_define_method(mrb, random, "srand", mrb_random_srand, MRB_ARGS_OPT(1));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:343:36:  [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.
  mrb_const_set(mrb, mrb_obj_value(random), mrb_intern_lit(mrb, "DEFAULT"),
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-random/src/random.c:344:28:  [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.
          mrb_obj_new(mrb, random, 0, NULL));
data/nghttp2-1.41.0/examples/asio-sv2.cc:85: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).
      auto fd = open(path.c_str(), O_RDONLY);
data/nghttp2-1.41.0/examples/client.c:121:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dst, s, len);
data/nghttp2-1.41.0/examples/client.c:405:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NI_MAXSERV];
data/nghttp2-1.41.0/examples/libevent-client.c:109: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(stream_data->authority, &uri[u->field_data[UF_HOST].off],
data/nghttp2-1.41.0/examples/libevent-client.c:129: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(stream_data->path, &uri[u->field_data[UF_PATH].off],
data/nghttp2-1.41.0/examples/libevent-client.c:137: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(stream_data->path + stream_data->pathlen -
data/nghttp2-1.41.0/examples/libevent-server.c:109: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 next_proto_list[256];
data/nghttp2-1.41.0/examples/libevent-server.c:173: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(&next_proto_list[1], NGHTTP2_PROTO_VERSION_ID,
data/nghttp2-1.41.0/examples/libevent-server.c:246:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NI_MAXHOST];
data/nghttp2-1.41.0/examples/libevent-server.c:384: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(&res[j], &value[i], 2);
data/nghttp2-1.41.0/examples/libevent-server.c:387: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(res, value, valuelen);
data/nghttp2-1.41.0/examples/libevent-server.c:551: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(rel_path, O_RDONLY);
data/nghttp2-1.41.0/lib/nghttp2_frame.c:668: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(var_gift_payload, payload + 8, var_gift_payloadlen);
data/nghttp2-1.41.0/lib/nghttp2_frame.c:894: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(iv_copy, iv, len);
data/nghttp2-1.41.0/lib/nghttp2_frame.c:1000: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(data, nva[i].name, nva[i].namelen);
data/nghttp2-1.41.0/lib/nghttp2_frame.c:1014: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(data, nva[i].value, nva[i].valuelen);
data/nghttp2-1.41.0/lib/nghttp2_hd_huffman.c:66: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(bufs->cur->buf.last, &x, 4);
data/nghttp2-1.41.0/lib/nghttp2_helper.c:34: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, &x, sizeof(uint16_t));
data/nghttp2-1.41.0/lib/nghttp2_helper.c:39: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, &x, sizeof(uint32_t));
data/nghttp2-1.41.0/lib/nghttp2_helper.c:44: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(&n, data, sizeof(uint16_t));
data/nghttp2-1.41.0/lib/nghttp2_helper.c:50: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(&n, data, sizeof(uint32_t));
data/nghttp2-1.41.0/lib/nghttp2_helper.c:593: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, len);
data/nghttp2-1.41.0/lib/nghttp2_session.c:495: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((*session_ptr)->user_recv_ext_types, option->user_recv_ext_types,
data/nghttp2-1.41.0/lib/nghttp2_session.c:6916: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(opaque_data_copy, opaque_data, opaque_data_len);
data/nghttp2-1.41.0/src/HttpServer.cc:1178:13:  [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).
  auto fd = mkstemp(tempfn);
data/nghttp2-1.41.0/src/HttpServer.cc:1314: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 file = open(file_path.c_str(), O_RDONLY | O_BINARY);
data/nghttp2-1.41.0/src/HttpServer.cc:1941: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(tempfn);
data/nghttp2-1.41.0/src/app_helper.cc:503: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, temp_out, temp_outlen);
data/nghttp2-1.41.0/src/asio_client_session_tcp_impl.cc:43: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).
  socket_.open(local_endpoint.protocol());
data/nghttp2-1.41.0/src/asio_common.cc:106: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).
  auto fd = open(path.c_str(), O_RDONLY);
data/nghttp2-1.41.0/src/asio_server.cc:95: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).
    if (acceptor.open(endpoint.protocol(), ec)) {
data/nghttp2-1.41.0/src/comp_helper.c:105: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(cname, name, namelen);
data/nghttp2-1.41.0/src/deflatehd.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 line[1 << 14];
data/nghttp2-1.41.0/src/h2load.cc:2439: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).
    config.data_fd = open(datafile.c_str(), O_RDONLY | O_BINARY);
data/nghttp2-1.41.0/src/h2load.cc:2453: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).
    config.log_fd = open(logfile.c_str(), O_WRONLY | O_CREAT | O_APPEND,
data/nghttp2-1.41.0/src/memchunk_test.cc:111:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[16];
data/nghttp2-1.41.0/src/memchunk_test.cc:142:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[16];
data/nghttp2-1.41.0/src/memchunk_test.cc:154:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[3 * 16];
data/nghttp2-1.41.0/src/memchunk_test.cc:187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[32];
data/nghttp2-1.41.0/src/nghttp.cc:2379: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).
        outfile = fopen(config.harfile.c_str(), "wb");
data/nghttp2-1.41.0/src/nghttp.cc:2523: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).
        data_fd = mkstemp(tempfn);
data/nghttp2-1.41.0/src/nghttp.cc:2562: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).
      data_fd = open(config.datafile.c_str(), O_RDONLY | O_BINARY);
data/nghttp2-1.41.0/src/shrpx.cc:317:13:  [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).
  auto fd = mkstemp(temp_path);
data/nghttp2-1.41.0/src/shrpx.cc:3260:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  suconfig.argv = new char *[argc];
data/nghttp2-1.41.0/src/shrpx_api_downstream_connection.cc:247:11:  [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(tempname);
data/nghttp2-1.41.0/src/shrpx_config.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 buf[256];
data/nghttp2-1.41.0/src/shrpx_config.cc:237: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).
  auto fd = open(filename, O_WRONLY | O_CLOEXEC | O_CREAT | O_TRUNC,
data/nghttp2-1.41.0/src/shrpx_config.cc:240: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).
  auto fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
data/nghttp2-1.41.0/src/shrpx_config.cc:1299: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).
  auto fd = open(path.c_str(), O_RDONLY);
data/nghttp2-1.41.0/src/shrpx_config.cc:1425: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).
    auto fd = open(path.c_str(), O_RDONLY);
data/nghttp2-1.41.0/src/shrpx_config.cc:2558:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NI_MAXHOST];
data/nghttp2-1.41.0/src/shrpx_config.cc:4223:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NI_MAXHOST];
data/nghttp2-1.41.0/src/shrpx_config.cc:4238: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->su, res->ai_addr, res->ai_addrlen);
data/nghttp2-1.41.0/src/shrpx_config_test.cc:165:14:  [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).
  auto fd1 = mkstemp(file1);
data/nghttp2-1.41.0/src/shrpx_config_test.cc:170:14:  [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).
  auto fd2 = mkstemp(file2);
data/nghttp2-1.41.0/src/shrpx_config_test.cc:206:14:  [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).
  auto fd1 = mkstemp(file1);
data/nghttp2-1.41.0/src/shrpx_config_test.cc:213:14:  [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).
  auto fd2 = mkstemp(file2);
data/nghttp2-1.41.0/src/shrpx_connection_handler.cc:435: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(&wev.client_addr, addr, addrlen);
data/nghttp2-1.41.0/src/shrpx_dns_resolver.cc:233: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(result, &result_, sizeof(result_));
data/nghttp2-1.41.0/src/shrpx_dns_tracker.cc:244: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(result, &ent.result, sizeof(*result));
data/nghttp2-1.41.0/src/shrpx_log.cc:187:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[4_k];
data/nghttp2-1.41.0/src/shrpx_log.cc:949: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).
  auto fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC,
data/nghttp2-1.41.0/src/shrpx_log.cc:954: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).
      open(path, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP);
data/nghttp2-1.41.0/src/shrpx_mruby.cc:146: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).
  auto infile = fopen(filename.c_str(), "rb");
data/nghttp2-1.41.0/src/shrpx_tls.cc:151: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, config->tls.private_key_passwd.c_str(), len + 1);
data/nghttp2-1.41.0/src/util.cc:87:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char addr[INET6_ADDRSTRLEN + 1];
data/nghttp2-1.41.0/src/util.cc:769:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(path, argv0, len + 1);
data/nghttp2-1.41.0/src/util.cc:776:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(path, cwd, cwdlen);
data/nghttp2-1.41.0/src/util.cc:778:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(path + cwdlen + 1, argv0, len + 1);
data/nghttp2-1.41.0/src/util.cc:1329: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, &x, sizeof(uint16_t));
data/nghttp2-1.41.0/src/util.cc:1334: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, &x, sizeof(uint32_t));
data/nghttp2-1.41.0/src/util.cc:1339: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(&n, data, sizeof(uint16_t));
data/nghttp2-1.41.0/src/util.cc:1345: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(&n, data, sizeof(uint32_t));
data/nghttp2-1.41.0/tests/failmalloc_test.c:57: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(df->data, buf->pos, data_length);
data/nghttp2-1.41.0/tests/failmalloc_test.c:80: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, df->datamark, wlen);
data/nghttp2-1.41.0/tests/nghttp2_frame_test.c:188: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.
    big_hds[i].namelen = strlen((char *)big_hds[i].name);
data/nghttp2-1.41.0/tests/nghttp2_frame_test.c:399: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(opaque_data, "0123456789abcdef", opaque_data_len);
data/nghttp2-1.41.0/tests/nghttp2_hd_test.c:689:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(nv.value, &i, sizeof(i));
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:162: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, df->datamark, wlen);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:190: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(acc->buf + acc->length, buf, len);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:430: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(acc->buf + acc->length, framehd, NGHTTP2_FRAME_HDLEN);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:595: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, p->pos, nghttp2_buf_len(p));
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:1275: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, buf->pos, NGHTTP2_FRAME_HDLEN + 1);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:1288: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 + datalen, buf->pos, cont_hd.length);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:1299: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 + datalen, buf->pos, cont_hd.length);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:1338: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, buf->pos, NGHTTP2_FRAME_HDLEN);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:1355: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 + datalen, buf->pos, cont_hd.length);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:1395: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, buf->pos, nghttp2_buf_len(buf));
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:1409: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 + datalen, buf->pos, nghttp2_buf_len(buf));
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:4309: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.
    nv[i].namelen = strlen((const char *)nv[i].name);
data/nghttp2-1.41.0/tests/nghttp2_test_helper.c:136: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(onv->name, nv->name, nv->namelen);
data/nghttp2-1.41.0/tests/nghttp2_test_helper.c:142: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(onv->value, nv->value, nv->valuelen);
data/nghttp2-1.41.0/tests/nghttp2_test_helper.h:50: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(a, sa, alloclen);                                                   \
data/nghttp2-1.41.0/tests/nghttp2_test_helper.h:51: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(b, sb, alloclen);                                                   \
data/nghttp2-1.41.0/third-party/mruby/include/mruby.h: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 symbuf[8];               /* buffer for small symbol names */
data/nghttp2-1.41.0/third-party/mruby/include/mruby.h:1265:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#undef memcpy
data/nghttp2-1.41.0/third-party/mruby/include/mruby.h:1276: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.
#define memcpy(a,b,c) mrbmemcpy(a,b,c)
data/nghttp2-1.41.0/third-party/mruby/include/mruby/compile.h:138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MRB_PARSER_TOKBUF_SIZE];
data/nghttp2-1.41.0/third-party/mruby/include/mruby/istruct.h: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 inline_data[ISTRUCT_DATA_SIZE];
data/nghttp2-1.41.0/third-party/mruby/include/mruby/istruct.h: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(ISTRUCT_PTR(dest), ISTRUCT_PTR(src), ISTRUCT_DATA_SIZE);
data/nghttp2-1.41.0/third-party/mruby/include/mruby/string.h:33: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 ary[RSTRING_EMBED_LEN_MAX + 1];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:284: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(bp, dbg->bp, sizeof(mrb_debug_breakpoint) * get_size);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:333: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(&dbg->bp[i], &dbg->bp[i + 1], sizeof(mrb_debug_breakpoint));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:92: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(filename, "rb");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:140:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINE_BUF_SIZE];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:176: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 *search_path[3];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:196:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fp = fopen(path, "rb")) == NULL) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:170: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).
  if (p != *sp && (i = atoi(*sp)) >= 0) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:116: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(buf, item, buflen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:128: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(args->srcpath + srcpathlen + 1, item, itemlen + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:156: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).
      args->rfp = fopen(argv[0], args->mrbfile ? "rb" : "r");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:166: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(args->argv, argv, (argc+1) * sizeof(char*));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:277: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(mrdb->command, "quit");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h:138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *words[MAX_COMMAND_WORD];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:253: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, item, buflen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:315: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).
      args->rfp = fopen(argv[0], "r");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:324: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(args->argv, argv, (argc+1) * sizeof(char*));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:412:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ruby_code[4096] = { 0 };
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.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 last_code_line[1024] = { 0 };
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:476: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 *lfp = fopen(args.libv[i], "r");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c:61: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(outfile, infile, infilelen + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c:65: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, ext, extlen + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c:187: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).
  p->f = fopen(fn, "r");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c:214:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((infile = fopen(input, "r")) == NULL) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c:312: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).
    else if ((wfp = fopen(args.outfile, "wb")) == NULL) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:65: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, item, buflen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:118: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(args->cmdline + cmdlinelen + 1, item, itemlen + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:168: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).
      args->rfp = fopen(argv[0], args->mrbfile ? "rb" : "r");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:179: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(args->argv, argv, (argc+1) * sizeof(char*));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:259: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 *lfp = fopen(args.libv[i], args.mrbfile ? "rb" : "r");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c:71: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).
    rfile = fopen(filename, "rb");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c:89: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).
    wfile = fopen(filename, "wb");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-compiler/core/codegen.c:932: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(name2, name, (size_t)len);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-inline-struct/test/inline.c:69: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(ptr, "mutate", 6);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dname[_MAX_DIR], vname[_MAX_DRIVE];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:161:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[_MAX_DRIVE + _MAX_DIR];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char bname[_MAX_DIR];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:202:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char extname[_MAX_EXT];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:205:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[_MAX_DIR + _MAX_EXT];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:266:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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], *utf8;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.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).
  #define open  _open
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:774: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(fname, (int)flags, (fmode_t)mode);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:18: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).
#define open _open
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:25:1:  [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).
mkstemp(char *p)
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:31: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(fname, O_RDWR | O_CREAT | O_EXCL, _S_IREAD | _S_IWRITE);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:83: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).
  fd0 = mkstemp(rfname);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:84: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).
  fd1 = mkstemp(wfname);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:93: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).
  fd2 = mkstemp(symlinkname);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:94: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).
  fd3 = mkstemp(socketname);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:108: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(rfname, "wb");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:116: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(wfname, "wb");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:65: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 base64_dec_tab[128];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg[60];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:290:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg[60];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:337: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(RSTRING_PTR(str) + sidx, buffer, 8);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:351: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(RSTRING_PTR(str) + sidx, buffer, 8);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:367: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(buffer, src, 8);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:381: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(buffer, src, 8);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:400: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(RSTRING_PTR(str) + sidx, buffer, 4);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:414: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(RSTRING_PTR(str) + sidx, buffer, 4);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:430: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(buffer, src, 4);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:444: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(buffer, src, 4);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:456:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char utf8[4];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:491: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(RSTRING_PTR(str) + sidx, utf8, len);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:599: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(dptr, sptr, copylen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-pack/src/pack.c:807: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 c, ch[4];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-print/src/print.c:24:18:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      int wlen = MultiByteToWideChar(CP_UTF8, 0, utf8, mlen, NULL, 0);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-print/src/print.c:26:11:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      if (MultiByteToWideChar(CP_UTF8, 0, utf8, mlen, utf16, wlen) > 0) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:71:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&in.sin_addr, src, sizeof(struct in_addr));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:81:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&in.sin6_addr, src, sizeof(struct in_addr6));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:106:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dst, res->ai_addr, res->ai_addrlen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:338:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char opt[8];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c: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 *addr, buf[50];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:531:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *bp, buf[50];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:536: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, bp, n);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:712: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(sunp->sun_path, RSTRING_PTR(path), RSTRING_LEN(path));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/test/sockettest.c:15: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).
#define open  _open
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/test/sockettest.c:20:1:  [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).
mkstemp(char *p)
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/test/sockettest.c:26: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(fname, O_RDWR | O_CREAT | O_EXCL, _S_IREAD | _S_IWRITE);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/test/sockettest.c:43: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(name);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[66], *b = buf + sizeof buf;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:132: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[blen], s, l);\
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:713: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 buf[1];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:797: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 nbuf[68], *s;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:1008: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 fbuf[32];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:1040:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&buf[blen - need], expr, elen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:1045:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&buf[blen - elen], expr, elen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-string-ext/src/string.c:259: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 ch[2];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-string-ext/src/string.c:856:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char utf8[4];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-string-ext/src/string.c:979: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(RSTRING_PTR(self), RSTRING_PTR(result), l);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-string-ext/src/string.c:994: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 utf8len_codepage_zero[256] =
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-struct/src/struct.c:136:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, name, (size_t)len);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/src/time.c:171: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 name[8];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/src/time.c:182: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 mon_names[12][4] = {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/src/time.c:186: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 wday_names[7][4] = {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/src/time.c:572:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[32];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/src/time.c:577:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/nghttp2-1.41.0/third-party/mruby/src/dump.c:88: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(cur, irep->iseq, irep->ilen * sizeof(mrb_code));
data/nghttp2-1.41.0/third-party/mruby/src/dump.c:202: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(cur, char_ptr, (size_t)len);
data/nghttp2-1.41.0/third-party/mruby/src/dump.c:248: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(cur, name, len); /* symbol name */
data/nghttp2-1.41.0/third-party/mruby/src/dump.c:326: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(bin, &footer, sizeof(struct rite_binary_footer));
data/nghttp2-1.41.0/third-party/mruby/src/dump.c:546: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(cur, sym, sym_len);
data/nghttp2-1.41.0/third-party/mruby/src/dump.c:599: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(cur, str, str_len);
data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c:68:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[PAD_SIZE];
data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c:77: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 xdigits[16] = {
data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c:92: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.
typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)];
data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[9+LDBL_MANT_DIG/4], *s;
data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ebuf0[3*sizeof(int)], *ebuf=&ebuf0[3*sizeof(int)], *estr;
data/nghttp2-1.41.0/third-party/mruby/src/fmt_fp.c:382:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[25];
data/nghttp2-1.41.0/third-party/mruby/src/load.c:106: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(irep->iseq, src, data_len);
data/nghttp2-1.41.0/third-party/mruby/src/numeric.c:224: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, ".0", 2);
data/nghttp2-1.41.0/third-party/mruby/src/numeric.c:1330:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MRB_INT_BIT+1];
data/nghttp2-1.41.0/third-party/mruby/src/pool.c:187: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(np, p, oldlen);
data/nghttp2-1.41.0/third-party/mruby/src/state.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 buf[1];
data/nghttp2-1.41.0/third-party/mruby/src/state.c:213: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(ns->as.ary, ptr, len);
data/nghttp2-1.41.0/third-party/mruby/src/state.c:222: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(ns->as.heap.ptr, ptr, len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:67: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(s->as.ary, p, len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:78: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(s->as.heap.ptr, p, len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:141: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(tmp, s->as.ary, len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:209: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 utf8len_codepage[256] =
data/nghttp2-1.41.0/third-party/mruby/src/string.c:529: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(s1->as.ary, RSTR_PTR(s2), len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:597:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  wcssize = MultiByteToWideChar(GetACP(), 0, str, len,  NULL, 0);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:601:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  wcssize = MultiByteToWideChar(GetACP(), 0, str, len, wcsp, wcssize + 1);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:627:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  wcssize = MultiByteToWideChar(CP_UTF8, 0, utf8, len,  NULL, 0);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:631:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  wcssize = MultiByteToWideChar(CP_UTF8, 0, utf8, len, wcsp, wcssize + 1);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:677: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(ptr, p, len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:701: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(RSTR_PTR(s), p, len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:760: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(RSTR_PTR(t), RSTR_PTR(s), RSTR_LEN(s));
data/nghttp2-1.41.0/third-party/mruby/src/string.c:761: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(RSTR_PTR(t) + RSTR_LEN(s), RSTR_PTR(s2), RSTR_LEN(s2));
data/nghttp2-1.41.0/third-party/mruby/src/string.c:839: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, RSTRING_PTR(self), n);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:841: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 + n, p, n);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:844: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 + n, p, len-n);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:1727: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, RSTRING_PTR(str), len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:1733: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(r, p, clen);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:2250:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DBL_DIG * 4 + 10];
data/nghttp2-1.41.0/third-party/mruby/src/string.c:2577: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(RSTR_PTR(s) + RSTR_LEN(s), ptr, len);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:2623:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CHAR_ESC_LEN + 1];
data/nghttp2-1.41.0/third-party/mruby/src/symbol.c:172: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, name, len);
data/nghttp2-1.41.0/third-party/mruby/src/symbol.c:488: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(sp+1, name, len);
data/nghttp2-1.41.0/third-party/mruby/src/symbol.c:552: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 buf1[8], buf2[8];
data/nghttp2-1.41.0/third-party/mruby/src/variable.c:966:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[3];
data/nghttp2-1.41.0/third-party/mruby/src/vm.c:883:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char kind_str[3][7] = { "return", "break", "yield" };
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:75: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 errbuf[256];
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:121: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(ret, path, last_slash - path);
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:184:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf->end, &v, sizeof(v));
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:192: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->end, s, l);
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:200: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->end, p, l);
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:208:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(v, buf->start, sizeof(*v));
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:258: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.
            vecs[vecindex].iov_base = (char *)vecs[vecindex].iov_base + r;
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:289: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 s[NAME_MAX + 1];                                                                                                      \
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[PATH_MAX];
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:513: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(_to, to, tolen);
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:523: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 *from, to[4096];
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:595: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(_sigret, sigret, siglen);
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:604: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 *m, sigret[4096];
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:743: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 *m, sigret[4096];
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:814: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(_sigret, sigret, siglen);
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:1026:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fp = fopen(fn, "rt")) == NULL) {
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:1139: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 pwstrbuf[65536]; /* should be large enough */
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:1286: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 auth_token[NEVERBLEED_AUTH_TOKEN_SIZE];
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.h:41:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char auth_token[NEVERBLEED_AUTH_TOKEN_SIZE];
data/nghttp2-1.41.0/examples/client.c:75:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (uint8_t *)NAME, (uint8_t *)VALUE, sizeof(NAME) - 1, strlen(VALUE),        \
data/nghttp2-1.41.0/examples/client.c:628:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(uri);
data/nghttp2-1.41.0/examples/libevent-client.c:580: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).
  rv = http_parser_parse_url(uri, strlen(uri), 0, &u);
data/nghttp2-1.41.0/examples/libevent-server.c:342: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 slen = strlen(s);
data/nghttp2-1.41.0/examples/libevent-server.c:343: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 sublen = strlen(sub);
data/nghttp2-1.41.0/examples/libevent-server.c:404:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((r = read(fd, buf, length)) == -1 && errno == EINTR)
data/nghttp2-1.41.0/lib/nghttp2_session.c:231: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).
    debug_datalen = strlen(reason);
data/nghttp2-1.41.0/src/HtmlParser.cc:47:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (util::strieq(StringRef{attrs[0], strlen(reinterpret_cast<const char *>(
data/nghttp2-1.41.0/src/HtmlParser.cc:51: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).
                       strlen(reinterpret_cast<const char *>(attrs[1]))};
data/nghttp2-1.41.0/src/HtmlParser.cc:92: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).
      StringRef{src_name, strlen(reinterpret_cast<const char *>(src_name))};
data/nghttp2-1.41.0/src/HtmlParser.cc:139: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).
          StringRef{name, strlen(reinterpret_cast<const char *>(name))})) {
data/nghttp2-1.41.0/src/HttpServer.cc:628:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((nread = read(fd_, buf.data(), buf.size())) == -1 && errno == EINTR)
data/nghttp2-1.41.0/src/asio_common.cc:120:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((n = read(fd, buf, len)) == -1 && errno == EINTR)
data/nghttp2-1.41.0/src/deflatehd.cc:160: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).
      nva[i].namelen = strlen(name);
data/nghttp2-1.41.0/src/deflatehd.cc:168: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).
      nva[i].valuelen = strlen(json_string_value(value));
data/nghttp2-1.41.0/src/deflatehd.cc:277: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).
      nv.namelen = strlen(line);
data/nghttp2-1.41.0/src/deflatehd.cc:278: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).
      nv.valuelen = strlen(val);
data/nghttp2-1.41.0/src/h2load.cc:1032:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((nread = read(fd, buf, sizeof(buf))) == -1 && errno == EINTR)
data/nghttp2-1.41.0/src/http2.h:161: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).
  return {(uint8_t *)name, (uint8_t *)value, N - 1, strlen(value),
data/nghttp2-1.41.0/src/http2.h:167: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).
  return {(uint8_t *)name, (uint8_t *)value, N - 1, strlen(value),
data/nghttp2-1.41.0/src/inflatehd.cc:133: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).
  auto inputlen = strlen(json_string_value(wire));
data/nghttp2-1.41.0/src/memchunk_test.cc:245:18:  [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.
  CU_ASSERT(std::equal(std::begin(b), std::begin(b) + 12, std::begin(d)));
data/nghttp2-1.41.0/src/memchunk_test.cc:252:18:  [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.
  CU_ASSERT(std::equal(std::begin(b) + 12, std::end(b), std::begin(d)));
data/nghttp2-1.41.0/src/memchunk_test.cc:280:18:  [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.
  CU_ASSERT(std::equal(std::begin(b) + 12, std::end(b), std::begin(d)));
data/nghttp2-1.41.0/src/memchunk_test.cc:308:18:  [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.
  CU_ASSERT(std::equal(std::begin(b), std::end(b), std::begin(d)));
data/nghttp2-1.41.0/src/nghttp.cc:784:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((nread = read(fd, buf.data(), buf.size())) == -1 && errno == EINTR)
data/nghttp2-1.41.0/src/nghttp.cc:2536:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          while ((rret = read(0, buf.data(), buf.size())) == -1 &&
data/nghttp2-1.41.0/src/nghttpd.cc:62: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).
  auto optarg_end = optarg + strlen(optarg);
data/nghttp2-1.41.0/src/shrpx.cc:1003:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(path) == 0) {
data/nghttp2-1.41.0/src/shrpx.cc:1961:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      << config->conn.upstream.ratelimit.read.rate << R"(
data/nghttp2-1.41.0/src/shrpx.cc:1967:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      << config->conn.upstream.ratelimit.read.burst << R"(
data/nghttp2-1.41.0/src/shrpx.cc:2056:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      << util::duration_str(config->conn.upstream.timeout.read) << R"(
data/nghttp2-1.41.0/src/shrpx.cc:2079:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      << util::duration_str(config->conn.downstream->timeout.read) << R"(
data/nghttp2-1.41.0/src/shrpx_client_handler.cc:400:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            get_config()->conn.upstream.timeout.read,
data/nghttp2-1.41.0/src/shrpx_client_handler.cc:402:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            get_config()->conn.upstream.ratelimit.read, writecb, readcb,
data/nghttp2-1.41.0/src/shrpx_config.cc:201:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read(buf, expectedlen);
data/nghttp2-1.41.0/src/shrpx_config.cc:1150:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (g.timeout.read < 1e-9) {
data/nghttp2-1.41.0/src/shrpx_config.cc:1311:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto n = read(fd, buf.data(), buf.size());
data/nghttp2-1.41.0/src/shrpx_config.cc:1443:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((nread = read(fd, buf.data(), buf.size())) == -1 && errno == EINTR)
data/nghttp2-1.41.0/src/shrpx_config.cc:2729:58:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return parse_duration(&config->conn.upstream.timeout.read, opt, optarg);
data/nghttp2-1.41.0/src/shrpx_config.cc:2733:61:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return parse_duration(&config->conn.downstream->timeout.read, opt, optarg);
data/nghttp2-1.41.0/src/shrpx_config.cc:3027:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return parse_uint_with_unit(&config->conn.upstream.ratelimit.read.rate, opt,
data/nghttp2-1.41.0/src/shrpx_config.cc:3030:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return parse_uint_with_unit(&config->conn.upstream.ratelimit.read.burst,
data/nghttp2-1.41.0/src/shrpx_config.cc:4181:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (timeout.read < 1e-9) {
data/nghttp2-1.41.0/src/shrpx_config.cc:4182:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      timeout.read = downstreamconf.timeout.read;
data/nghttp2-1.41.0/src/shrpx_config.h:524:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ev_tstamp read;
data/nghttp2-1.41.0/src/shrpx_config.h:866:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ev_tstamp read;
data/nghttp2-1.41.0/src/shrpx_config.h:905:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ev_tstamp read;
data/nghttp2-1.41.0/src/shrpx_config.h:910:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      RateLimitConfig read;
data/nghttp2-1.41.0/src/shrpx_config_test.cc:184:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.name), std::end(key->data.name),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:186:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.enc_key),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:188:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.hmac_key),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:194:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.name), std::end(key->data.name),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:196:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.enc_key),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:198:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.hmac_key),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:229:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.name), std::end(key->data.name),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:231:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.enc_key),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:234:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.hmac_key),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:239:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.name), std::end(key->data.name),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:241:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.enc_key),
data/nghttp2-1.41.0/src/shrpx_config_test.cc:244:18:  [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.
  CU_ASSERT(std::equal(std::begin(key->data.hmac_key),
data/nghttp2-1.41.0/src/shrpx_connection.cc:234:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return shrpx_bio_write(b, str, strlen(str));
data/nghttp2-1.41.0/src/shrpx_connection.cc:905:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((nread = read(fd, data, len)) == -1 && errno == EINTR)
data/nghttp2-1.41.0/src/shrpx_connection_handler.cc:575:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((n = read(ocsp_.proc.rfd, buf.data(), buf.size())) == -1 &&
data/nghttp2-1.41.0/src/shrpx_dns_resolver.cc:37:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void sock_state_cb(void *data, int s, int read, int write) {
data/nghttp2-1.41.0/src/shrpx_dns_resolver.cc:44:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read) {
data/nghttp2-1.41.0/src/shrpx_http2_session.cc:188:76:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            group->shared_addr->timeout.write, group->shared_addr->timeout.read,
data/nghttp2-1.41.0/src/shrpx_http_downstream_connection.cc:206:76:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            group->shared_addr->timeout.write, group->shared_addr->timeout.read,
data/nghttp2-1.41.0/src/shrpx_http_downstream_connection.cc:436:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (conn_.read_timeout < group_->shared_addr->timeout.read) {
data/nghttp2-1.41.0/src/shrpx_http_downstream_connection.cc:437:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      conn_.read_timeout = group_->shared_addr->timeout.read;
data/nghttp2-1.41.0/src/shrpx_http_downstream_connection.cc:440:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      conn_.again_rt(group_->shared_addr->timeout.read);
data/nghttp2-1.41.0/src/shrpx_https_upstream.cc:108:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  conn->rt.repeat = upstreamconf.timeout.read;
data/nghttp2-1.41.0/src/shrpx_live_check.cc:107:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            worker->get_downstream_config()->timeout.read, {}, {}, writecb,
data/nghttp2-1.41.0/src/shrpx_log.cc:221: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).
  write_seq(s, s + strlen(s));
data/nghttp2-1.41.0/src/shrpx_log.cc:375: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).
  return copy(src, strlen(src), d_first, d_last);
data/nghttp2-1.41.0/src/shrpx_tls.cc:169: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).
  auto len = strlen(rawhost);
data/nghttp2-1.41.0/src/shrpx_tls.cc:493:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (std::equal(std::begin(key.data.name), std::end(key.data.name),
data/nghttp2-1.41.0/src/shrpx_worker.cc:119:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  std::get<6>(dkey) = timeout.read;
data/nghttp2-1.41.0/src/shrpx_worker.cc:252:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    shared_addr->timeout.read = src.timeout.read;
data/nghttp2-1.41.0/src/shrpx_worker.h:221:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ev_tstamp read;
data/nghttp2-1.41.0/src/shrpx_worker_process.cc:154:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((nread = read(w->fd, buf.data(), buf.size())) == -1 && errno == EINTR)
data/nghttp2-1.41.0/src/template.h:192: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).
  return strcopy(val, val + strlen(val));
data/nghttp2-1.41.0/src/template.h:241: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).
      : len(strlen(s)), base(copystr(s, s + len)) {}
data/nghttp2-1.41.0/src/template.h:321:15:  [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.
         std::equal(std::begin(lhs), std::end(lhs), std::begin(rhs));
data/nghttp2-1.41.0/src/template.h:326:15:  [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.
         std::equal(std::begin(lhs), std::end(lhs), std::begin(rhs));
data/nghttp2-1.41.0/src/template.h:334: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).
  return lhs.size() == strlen(rhs) &&
data/nghttp2-1.41.0/src/template.h:335:15:  [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.
         std::equal(std::begin(lhs), std::end(lhs), rhs);
data/nghttp2-1.41.0/src/template.h:393:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  explicit StringRef(const char *s) : base(s), len(strlen(s)) {}
data/nghttp2-1.41.0/src/template.h:453:15:  [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.
         std::equal(std::begin(lhs), std::end(lhs), std::begin(rhs));
data/nghttp2-1.41.0/src/template.h:458:15:  [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.
         std::equal(std::begin(lhs), std::end(lhs), std::begin(rhs));
data/nghttp2-1.41.0/src/template.h:466: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).
  return lhs.size() == strlen(rhs) &&
data/nghttp2-1.41.0/src/template.h:467:15:  [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.
         std::equal(std::begin(lhs), std::end(lhs), rhs);
data/nghttp2-1.41.0/src/template.h:472:15:  [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.
         std::equal(std::begin(lhs), std::end(lhs), std::begin(rhs));
data/nghttp2-1.41.0/src/util.cc:88:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(addr, src, sizeof(addr));
data/nghttp2-1.41.0/src/util.cc:551: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).
    auto optnamelen = strlen(options[i].name);
data/nghttp2-1.41.0/src/util.cc:705: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).
  auto hostlen = strlen(host.data());
data/nghttp2-1.41.0/src/util.cc:706: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).
  auto servlen = strlen(serv.data());
data/nghttp2-1.41.0/src/util.cc:760: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).
  auto len = strlen(argv0);
data/nghttp2-1.41.0/src/util.cc:771: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).
    auto cwdlen = strlen(cwd);
data/nghttp2-1.41.0/src/util.cc:807:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (std::equal(std::begin(key), std::end(key), p)) {
data/nghttp2-1.41.0/src/util.cc:1004:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return parse_uint_with_unit(reinterpret_cast<const uint8_t *>(s), strlen(s));
data/nghttp2-1.41.0/src/util.cc:1049: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).
  return parse_uint(reinterpret_cast<const uint8_t *>(s), strlen(s));
data/nghttp2-1.41.0/src/util.cc:1072: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).
                                  strlen(s));
data/nghttp2-1.41.0/src/util.cc:1292:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        std::equal(std::begin(buf), std::begin(buf) + buflen, i)) {
data/nghttp2-1.41.0/src/util.h:236:15:  [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.
  return std::equal(first2, last2, first1);
data/nghttp2-1.41.0/src/util.h:273:15:  [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.
  return std::equal(first2, last2, last1 - (last2 - first2));
data/nghttp2-1.41.0/src/util.h:331:15:  [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.
  return std::equal(first1, last1, first2);
data/nghttp2-1.41.0/tests/nghttp2_frame_test.c:41: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).
  nv.namelen = strlen(name);
data/nghttp2-1.41.0/tests/nghttp2_frame_test.c:42: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).
  nv.valuelen = strlen(value);
data/nghttp2-1.41.0/tests/nghttp2_frame_test.c:188: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).
    big_hds[i].namelen = strlen((char *)big_hds[i].name);
data/nghttp2-1.41.0/tests/nghttp2_frame_test.c:614: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).
  bignv.namelen = strlen("echo");
data/nghttp2-1.41.0/tests/nghttp2_hd_test.c:454: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).
  nv.namelen = strlen((char *)nv.name);
data/nghttp2-1.41.0/tests/nghttp2_hd_test.c:677: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).
  nv.namelen = strlen((const char *)nv.name);
data/nghttp2-1.41.0/tests/nghttp2_session_test.c:4309: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).
    nv[i].namelen = strlen((const char *)nv[i].name);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:198: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).
  set_file = (char*)mrb_malloc(mrb, strlen(file) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:208:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(set_file, file, strlen(file) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:208: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(set_file, file, strlen(file) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:235: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).
    set_class = (char*)mrb_malloc(mrb, strlen(class_name) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:236:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(set_class, class_name, strlen(class_name) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:236: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).
    strncpy(set_class, class_name, strlen(class_name) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:242: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).
  set_method = (char*)mrb_malloc(mrb, strlen(method_name) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:244:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(set_method, method_name, strlen(method_name) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c:244: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).
  strncpy(set_method, method_name, strlen(method_name) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:45:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(base) + 1;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:48:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen(dir) + sizeof("/") - 1;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:56: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(path, "/");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:75:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = p != NULL ? (size_t)(p - path) : strlen(path);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:78:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(dir, path, len);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:100: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).
  file->path = (char*)mrb_malloc(mrb, strlen(filename) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:112:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((len = strlen(s)) == 0) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c:124:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((c = fgetc(fp)) != '\n') {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:73:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*ps == '0')||(strlen(ps) >= BPNO_LETTER_NUM)) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:148:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*args == '0')||(strlen(args) >= LINENO_MAX_DIGIT)) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:232:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(*sp);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:237:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(st->filename, *sp, len);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:262:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(filename);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:265: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).
  s = (char*)mrb_malloc(mrb, len + strlen(ext) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:266: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).
  memset(s, '\0', len + strlen(ext) + 1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:267:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(s, filename, len);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:478:18:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((buf = getchar()) == EOF) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c:483:36:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while (buf != '\n' && (buf = getchar()) != EOF) ;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:114: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).
          buflen = strlen(item) + 1;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:123: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).
          srcpathlen = strlen(args->srcpath);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:124: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).
          itemlen = strlen(item);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:271:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((c=getchar()) == EOF || c == '\n') break;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:282:16:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for ( ; (c=getchar()) != EOF && c !='\n'; i++) ;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:313: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).
    *pp = ps + strlen(ps);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:345: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).
    wlen = strlen(mrdb->words[0]);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:367: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).
      wlen = strlen(mrdb->words[0]);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c:377: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).
      wlen = strlen(mrdb->words[1]);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:116: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).
  fwrite(msg, strlen(msg), 1, stdout);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:251: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 buflen = strlen(item) + 1;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:373:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(word);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:510:25:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((last_char = getchar()) != '\n') {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:552: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(line) > sizeof(last_code_line)-2) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:557: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(last_code_line, "\n");
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.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).
      if (strlen(ruby_code)+strlen(last_code_line) > sizeof(ruby_code)-1) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:564:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(ruby_code)+strlen(last_code_line) > sizeof(ruby_code)-1) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c:587: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).
    parser->send = utf8 + strlen(utf8);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c:58: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).
  infilelen = strlen(infile);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c:59: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).
  extlen = strlen(ext);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:63: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 buflen = strlen(item) + 1;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:81:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(*argv) <= 1) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:113: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).
          cmdlinelen = strlen(args->cmdline);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:114: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).
          itemlen = strlen(item);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c:34:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t len = strlen(argv[i]);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-compiler/core/codegen.c:1303: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).
  const char *e = p + strlen(p);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-compiler/core/codegen.c:1330: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).
  const char *e = p + strlen(p);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-inline-struct/test/inline.c:15: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(string, "fixnum", size-1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-inline-struct/test/inline.c:19: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(string, "float", size-1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-inline-struct/test/inline.c:23: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(string, "string", size-1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-inline-struct/test/inline.c:26: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(string, "anything", size-1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:98:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    omask = umask(0);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:99:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(omask);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:101:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    omask = umask(mask);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:170: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).
  ridx = strlen(buffer);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:172: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 character.
    strncpy(buffer, ".", 2);  /* null terminated */
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:210: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).
  ridx = strlen(path);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/file.c:258: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).
  mrb_str_resize(mrb, result, strlen(RSTRING_PTR(result)));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:30:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  #define read  _read
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:291:95:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  mrb_value opt = mrb_funcall(mrb, obj, "[]", 1, mrb_symbol_value(mrb_intern_static(mrb, key, strlen(key))));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:852:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ret = read(fptr->fd, RSTRING_PTR(buf), (fsize_t)maxlen);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1057:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  mrb_value read, read_io, write, except, timeout, list;
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1093:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (!mrb_nil_p(read)) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1094:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    mrb_check_type(mrb, read, MRB_TT_ARRAY);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1097:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for (i = 0; i < RARRAY_LEN(read); i++) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1098:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read_io = RARRAY_PTR(read)[i];
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1177:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      for (i = 0; i < RARRAY_LEN(read); i++) {
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1178:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        fptr = io_get_open_fptr(mrb, RARRAY_PTR(read)[i]);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/src/io.c:1181:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          mrb_ary_push(mrb, list, RARRAY_PTR(read)[i]);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:47:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
#define umask(mode) _umask(mode)
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:82:10:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  mask = umask(077);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-io/test/mruby_io_test.c:100:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask(mask);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-method/src/method.c:33:111:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          mrb_raisef(mrb, E_TYPE_ERROR, "bind argument must be an instance of %S", mrb_str_new_static(mrb, s, strlen(s)));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-method/src/method.c:332: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).
    mrb_str_new_static(mrb, s, strlen(s))
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sleep/src/mrb_sleep.c:32:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    #define usleep(x) Sleep((DWORD)((x)<1000) ? 1 : ((x)/1000))
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sleep/src/mrb_sleep.c:51: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(sec * 1000000);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sleep/src/mrb_sleep.c:95: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(usec);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:211: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).
  mrb_str_resize(mrb, host, strlen(RSTRING_PTR(host)));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:213: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).
  mrb_str_resize(mrb, serv, strlen(RSTRING_PTR(serv)));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:259: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).
  mrb_str_resize(mrb, host, strlen(RSTRING_PTR(host)));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-socket/src/socket.c:599: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).
  mrb_str_resize(mrb, buf, (mrb_int)strlen(RSTRING_PTR(buf)));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:41: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).
    *t |= EXTENDSIGN(3, strlen(t));
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:885:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(++s, RSTRING_PTR(val), sizeof(nbuf)-1);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:912: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 = strlen(s);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:944: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 = strlen(prefix);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-sprintf/src/sprintf.c:970: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).
          int plen = (int)strlen(prefix);
data/nghttp2-1.41.0/third-party/mruby/mrbgems/mruby-time/src/time.c:575:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(s)-1;            /* truncate the last newline */
data/nghttp2-1.41.0/third-party/mruby/src/debug.c:158: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).
  fn_len = strlen(filename);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:167:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(p);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:596:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (int)strlen(str);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:626:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (int)strlen(utf8);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:739: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(RSTR_PTR(s)) ^ RSTR_LEN(s)) != 0) {
data/nghttp2-1.41.0/third-party/mruby/src/string.c:2179: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).
  return mrb_str_len_to_inum(mrb, str, strlen(str), base, badcheck);
data/nghttp2-1.41.0/third-party/mruby/src/string.c:2587: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).
  return mrb_str_cat(mrb, str, ptr, strlen(ptr));
data/nghttp2-1.41.0/third-party/mruby/src/symbol.c:207:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return mrb_intern(mrb, name, strlen(name));
data/nghttp2-1.41.0/third-party/mruby/src/symbol.c:230: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).
  return mrb_check_intern(mrb, name, strlen(name));
data/nghttp2-1.41.0/third-party/mruby/src/symbol.c:490: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 (!symname_p(name) || strlen(name) != (size_t)len) {
data/nghttp2-1.41.0/third-party/mruby/src/symbol.c:519: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 (symname_p(name) && strlen(name) == (size_t)len) {
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:136:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ((r = read(fd, p, sz)) == -1 && errno == EINTR)
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:190:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t l = strlen(s) + 1;
data/nghttp2-1.41.0/third-party/neverbleed/neverbleed.c:1196:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = read(close_notify_fd, &b, 1);

ANALYSIS SUMMARY:

Hits = 703
Lines analyzed = 181326 in approximately 4.09 seconds (44359 lines/second)
Physical Source Lines of Code (SLOC) = 127530
Hits@level = [0] 443 [1] 222 [2] 261 [3]  43 [4] 169 [5]   8
Hits@level+ = [0+] 1146 [1+] 703 [2+] 481 [3+] 220 [4+] 177 [5+]   8
Hits/KSLOC@level+ = [0+] 8.98612 [1+] 5.51243 [2+] 3.77166 [3+] 1.72508 [4+] 1.38791 [5+] 0.0627303
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.