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/duktape-2.5.0/extras/alloc-pool/duk_alloc_pool.c
Examining data/duktape-2.5.0/extras/alloc-pool/duk_alloc_pool.h
Examining data/duktape-2.5.0/extras/alloc-pool/ptrcomp_fixup.h
Examining data/duktape-2.5.0/extras/alloc-pool/test.c
Examining data/duktape-2.5.0/extras/minimal-printf/duk_minimal_printf.c
Examining data/duktape-2.5.0/extras/minimal-printf/duk_minimal_printf.h
Examining data/duktape-2.5.0/extras/minimal-printf/test.c
Examining data/duktape-2.5.0/extras/print-alert/duk_print_alert.h
Examining data/duktape-2.5.0/extras/print-alert/duk_print_alert.c
Examining data/duktape-2.5.0/extras/print-alert/test.c
Examining data/duktape-2.5.0/extras/module-node/duk_module_node.c
Examining data/duktape-2.5.0/extras/module-node/duk_module_node.h
Examining data/duktape-2.5.0/extras/module-node/test.c
Examining data/duktape-2.5.0/extras/console/duk_console.c
Examining data/duktape-2.5.0/extras/console/duk_console.h
Examining data/duktape-2.5.0/extras/console/test.c
Examining data/duktape-2.5.0/extras/module-duktape/duk_module_duktape.c
Examining data/duktape-2.5.0/extras/module-duktape/duk_module_duktape.h
Examining data/duktape-2.5.0/extras/module-duktape/test.c
Examining data/duktape-2.5.0/extras/duk-v1-compat/duk_v1_compat.c
Examining data/duktape-2.5.0/extras/duk-v1-compat/duk_v1_compat.h
Examining data/duktape-2.5.0/extras/duk-v1-compat/test.c
Examining data/duktape-2.5.0/extras/cbor/duk_cbor.c
Examining data/duktape-2.5.0/extras/cbor/duk_cbor.h
Examining data/duktape-2.5.0/extras/cbor/jsoncbor.c
Examining data/duktape-2.5.0/extras/logging/duk_logging.h
Examining data/duktape-2.5.0/extras/logging/duk_logging.c
Examining data/duktape-2.5.0/extras/logging/test.c
Examining data/duktape-2.5.0/src-input/duk_api_buffer.c
Examining data/duktape-2.5.0/src-input/duk_hobject_assert.c
Examining data/duktape-2.5.0/src-input/duk_regexp.h
Examining data/duktape-2.5.0/src-input/duk_debug_vsnprintf.c
Examining data/duktape-2.5.0/src-input/duk_heaphdr.h
Examining data/duktape-2.5.0/src-input/duk_heap_refcount.c
Examining data/duktape-2.5.0/src-input/duk_bi_object.c
Examining data/duktape-2.5.0/src-input/duk_hobject_enum.c
Examining data/duktape-2.5.0/src-input/duk_heap_misc.c
Examining data/duktape-2.5.0/src-input/duk_heap.h
Examining data/duktape-2.5.0/src-input/duk_hthread_stacks.c
Examining data/duktape-2.5.0/src-input/duk_js_call.c
Examining data/duktape-2.5.0/src-input/duk_bi_pointer.c
Examining data/duktape-2.5.0/src-input/duk_api_compile.c
Examining data/duktape-2.5.0/src-input/duk_forwdecl.h
Examining data/duktape-2.5.0/src-input/duk_bi_array.c
Examining data/duktape-2.5.0/src-input/duk_error_misc.c
Examining data/duktape-2.5.0/src-input/duk_numconv.h
Examining data/duktape-2.5.0/src-input/duk_bi_thrower.c
Examining data/duktape-2.5.0/src-input/duk_js_arith.c
Examining data/duktape-2.5.0/src-input/duk_alloc_default.c
Examining data/duktape-2.5.0/src-input/duk_replacements.c
Examining data/duktape-2.5.0/src-input/duk_js_ops.c
Examining data/duktape-2.5.0/src-input/duk_hboundfunc.h
Examining data/duktape-2.5.0/src-input/duk_bi_error.c
Examining data/duktape-2.5.0/src-input/duk_tval.h
Examining data/duktape-2.5.0/src-input/duk_js.h
Examining data/duktape-2.5.0/src-input/duk_fltunion.h
Examining data/duktape-2.5.0/src-input/duk_heap_alloc.c
Examining data/duktape-2.5.0/src-input/duk_hthread_alloc.c
Examining data/duktape-2.5.0/src-input/duk_bi_performance.c
Examining data/duktape-2.5.0/src-input/duk_hstring_assert.c
Examining data/duktape-2.5.0/src-input/duk_debug.h
Examining data/duktape-2.5.0/src-input/duk_debug_fixedbuffer.c
Examining data/duktape-2.5.0/src-input/duk_unicode_support.c
Examining data/duktape-2.5.0/src-input/duk_dblunion.h
Examining data/duktape-2.5.0/src-input/duk_henv.h
Examining data/duktape-2.5.0/src-input/duk_bi_string.c
Examining data/duktape-2.5.0/src-input/duk_js_bytecode.h
Examining data/duktape-2.5.0/src-input/duk_bi_thread.c
Examining data/duktape-2.5.0/src-input/duk_bi_date.c
Examining data/duktape-2.5.0/src-input/duk_bi_date_unix.c
Examining data/duktape-2.5.0/src-input/duk_util_cast.c
Examining data/duktape-2.5.0/src-input/duk_hnatfunc.h
Examining data/duktape-2.5.0/src-input/duk_harray.h
Examining data/duktape-2.5.0/src-input/duk_hbufobj_misc.c
Examining data/duktape-2.5.0/src-input/duk_bi_reflect.c
Examining data/duktape-2.5.0/src-input/duk_hobject_alloc.c
Examining data/duktape-2.5.0/src-input/duk_api_object.c
Examining data/duktape-2.5.0/src-input/duk_bi_boolean.c
Examining data/duktape-2.5.0/src-input/duk_js_compiler.c
Examining data/duktape-2.5.0/src-input/duk_api_random.c
Examining data/duktape-2.5.0/src-input/duk_json.h
Examining data/duktape-2.5.0/src-input/duk_bi_protos.h
Examining data/duktape-2.5.0/src-input/duk_bi_symbol.c
Examining data/duktape-2.5.0/src-input/duk_bi_buffer.c
Examining data/duktape-2.5.0/src-input/duk_heap_memory.c
Examining data/duktape-2.5.0/src-input/duk_hobject_pc2line.c
Examining data/duktape-2.5.0/src-input/duk_debugger.h
Examining data/duktape-2.5.0/src-input/duk_refcount.h
Examining data/duktape-2.5.0/src-input/duk_hobject_class.c
Examining data/duktape-2.5.0/src-input/duk_internal.h
Examining data/duktape-2.5.0/src-input/duk_hbuffer_alloc.c
Examining data/duktape-2.5.0/src-input/duk_bi_json.c
Examining data/duktape-2.5.0/src-input/duk_strings.h
Examining data/duktape-2.5.0/src-input/duk_api_call.c
Examining data/duktape-2.5.0/src-input/duk_hbuffer_ops.c
Examining data/duktape-2.5.0/src-input/duk_error_augment.c
Examining data/duktape-2.5.0/src-input/duk_bi_regexp.c
Examining data/duktape-2.5.0/src-input/duk_error_longjmp.c
Examining data/duktape-2.5.0/src-input/duk_api_debug.c
Examining data/duktape-2.5.0/src-input/duk_util_bitdecoder.c
Examining data/duktape-2.5.0/src-input/duk_bi_cbor.c
Examining data/duktape-2.5.0/src-input/duk_bi_encoding.c
Examining data/duktape-2.5.0/src-input/duk_lexer.c
Examining data/duktape-2.5.0/src-input/duk_hobject.h
Examining data/duktape-2.5.0/src-input/duk_hthread_misc.c
Examining data/duktape-2.5.0/src-input/duk_numconv.c
Examining data/duktape-2.5.0/src-input/duk_js_var.c
Examining data/duktape-2.5.0/src-input/duk_heap_finalize.c
Examining data/duktape-2.5.0/src-input/duk_hcompfunc.h
Examining data/duktape-2.5.0/src-input/duk_util_double.c
Examining data/duktape-2.5.0/src-input/duk_bi_duktape.c
Examining data/duktape-2.5.0/src-input/duk_js_compiler.h
Examining data/duktape-2.5.0/src-input/duk_util_bufwriter.c
Examining data/duktape-2.5.0/src-input/duk_hthread.h
Examining data/duktape-2.5.0/src-input/duk_regexp_compiler.c
Examining data/duktape-2.5.0/src-input/duk_util_memrw.c
Examining data/duktape-2.5.0/src-input/duk_api_codec.c
Examining data/duktape-2.5.0/src-input/duk_heap_stringtable.c
Examining data/duktape-2.5.0/src-input/duk_hbuffer.h
Examining data/duktape-2.5.0/src-input/duk_util_memory.c
Examining data/duktape-2.5.0/src-input/duk_api_internal.h
Examining data/duktape-2.5.0/src-input/duk_regexp_executor.c
Examining data/duktape-2.5.0/src-input/duk_api_time.c
Examining data/duktape-2.5.0/src-input/duk_util_bitencoder.c
Examining data/duktape-2.5.0/src-input/duk_hproxy.h
Examining data/duktape-2.5.0/src-input/duk_api_bytecode.c
Examining data/duktape-2.5.0/src-input/duk_api_heap.c
Examining data/duktape-2.5.0/src-input/duk_hthread_builtins.c
Examining data/duktape-2.5.0/src-input/duk_hstring.h
Examining data/duktape-2.5.0/src-input/duk_api_stack.c
Examining data/duktape-2.5.0/src-input/duk_debug_macros.c
Examining data/duktape-2.5.0/src-input/duk_api_memory.c
Examining data/duktape-2.5.0/src-input/duk_error_macros.c
Examining data/duktape-2.5.0/src-input/duk_hstring_misc.c
Examining data/duktape-2.5.0/src-input/duk_lexer.h
Examining data/duktape-2.5.0/src-input/duk_hbuffer_assert.c
Examining data/duktape-2.5.0/src-input/duk_error_throw.c
Examining data/duktape-2.5.0/src-input/duk_bi_proxy.c
Examining data/duktape-2.5.0/src-input/duk_tval.c
Examining data/duktape-2.5.0/src-input/duk_heaphdr_assert.c
Examining data/duktape-2.5.0/src-input/duk_bi_promise.c
Examining data/duktape-2.5.0/src-input/duk_jmpbuf.h
Examining data/duktape-2.5.0/src-input/duk_util_misc.c
Examining data/duktape-2.5.0/src-input/duk_bi_function.c
Examining data/duktape-2.5.0/src-input/duk_replacements.h
Examining data/duktape-2.5.0/src-input/duk_exception.h
Examining data/duktape-2.5.0/src-input/duk_bi_math.c
Examining data/duktape-2.5.0/src-input/duk_selftest.c
Examining data/duktape-2.5.0/src-input/duk_util_tinyrandom.c
Examining data/duktape-2.5.0/src-input/duk_bi_number.c
Examining data/duktape-2.5.0/src-input/duk_bi_date_windows.c
Examining data/duktape-2.5.0/src-input/duk_bi_global.c
Examining data/duktape-2.5.0/src-input/duk_api_string.c
Examining data/duktape-2.5.0/src-input/duk_heap_stringcache.c
Examining data/duktape-2.5.0/src-input/duk_util_hashbytes.c
Examining data/duktape-2.5.0/src-input/duk_unicode.h
Examining data/duktape-2.5.0/src-input/duk_unicode_tables.c
Examining data/duktape-2.5.0/src-input/duk_api_inspect.c
Examining data/duktape-2.5.0/src-input/duk_heap_hashstring.c
Examining data/duktape-2.5.0/src-input/duk_selftest.h
Examining data/duktape-2.5.0/src-input/duk_util.h
Examining data/duktape-2.5.0/src-input/duk_error.h
Examining data/duktape-2.5.0/src-input/duk_hobject_misc.c
Examining data/duktape-2.5.0/src-input/duk_heap_markandsweep.c
Examining data/duktape-2.5.0/src-input/duk_hobject_props.c
Examining data/duktape-2.5.0/src-input/duk_debugger.c
Examining data/duktape-2.5.0/src-input/duk_js_executor.c
Examining data/duktape-2.5.0/src-input/duk_hbufobj.h
Examining data/duktape-2.5.0/src-separate/duk_api_buffer.c
Examining data/duktape-2.5.0/src-separate/duk_hobject_assert.c
Examining data/duktape-2.5.0/src-separate/duk_regexp.h
Examining data/duktape-2.5.0/src-separate/duk_debug_vsnprintf.c
Examining data/duktape-2.5.0/src-separate/duk_heaphdr.h
Examining data/duktape-2.5.0/src-separate/duk_heap_refcount.c
Examining data/duktape-2.5.0/src-separate/duk_bi_object.c
Examining data/duktape-2.5.0/src-separate/duk_hobject_enum.c
Examining data/duktape-2.5.0/src-separate/duk_heap_misc.c
Examining data/duktape-2.5.0/src-separate/duk_heap.h
Examining data/duktape-2.5.0/src-separate/duk_hthread_stacks.c
Examining data/duktape-2.5.0/src-separate/duk_js_call.c
Examining data/duktape-2.5.0/src-separate/duk_bi_pointer.c
Examining data/duktape-2.5.0/src-separate/duk_api_compile.c
Examining data/duktape-2.5.0/src-separate/duk_forwdecl.h
Examining data/duktape-2.5.0/src-separate/duk_bi_array.c
Examining data/duktape-2.5.0/src-separate/duk_error_misc.c
Examining data/duktape-2.5.0/src-separate/duk_numconv.h
Examining data/duktape-2.5.0/src-separate/duk_bi_thrower.c
Examining data/duktape-2.5.0/src-separate/duk_js_arith.c
Examining data/duktape-2.5.0/src-separate/duk_alloc_default.c
Examining data/duktape-2.5.0/src-separate/duk_replacements.c
Examining data/duktape-2.5.0/src-separate/duk_js_ops.c
Examining data/duktape-2.5.0/src-separate/duk_config.h
Examining data/duktape-2.5.0/src-separate/duk_hboundfunc.h
Examining data/duktape-2.5.0/src-separate/duk_bi_error.c
Examining data/duktape-2.5.0/src-separate/duk_tval.h
Examining data/duktape-2.5.0/src-separate/duk_js.h
Examining data/duktape-2.5.0/src-separate/duk_fltunion.h
Examining data/duktape-2.5.0/src-separate/duk_heap_alloc.c
Examining data/duktape-2.5.0/src-separate/duk_hthread_alloc.c
Examining data/duktape-2.5.0/src-separate/duk_bi_performance.c
Examining data/duktape-2.5.0/src-separate/duk_hstring_assert.c
Examining data/duktape-2.5.0/src-separate/duk_debug.h
Examining data/duktape-2.5.0/src-separate/duk_debug_fixedbuffer.c
Examining data/duktape-2.5.0/src-separate/duk_unicode_support.c
Examining data/duktape-2.5.0/src-separate/duk_dblunion.h
Examining data/duktape-2.5.0/src-separate/duk_henv.h
Examining data/duktape-2.5.0/src-separate/duk_bi_string.c
Examining data/duktape-2.5.0/src-separate/duk_js_bytecode.h
Examining data/duktape-2.5.0/src-separate/duk_bi_thread.c
Examining data/duktape-2.5.0/src-separate/duk_bi_date.c
Examining data/duktape-2.5.0/src-separate/duk_bi_date_unix.c
Examining data/duktape-2.5.0/src-separate/duk_util_cast.c
Examining data/duktape-2.5.0/src-separate/duktape.h
Examining data/duktape-2.5.0/src-separate/duk_hnatfunc.h
Examining data/duktape-2.5.0/src-separate/duk_harray.h
Examining data/duktape-2.5.0/src-separate/duk_hbufobj_misc.c
Examining data/duktape-2.5.0/src-separate/duk_bi_reflect.c
Examining data/duktape-2.5.0/src-separate/duk_hobject_alloc.c
Examining data/duktape-2.5.0/src-separate/duk_api_object.c
Examining data/duktape-2.5.0/src-separate/duk_bi_boolean.c
Examining data/duktape-2.5.0/src-separate/duk_js_compiler.c
Examining data/duktape-2.5.0/src-separate/duk_api_random.c
Examining data/duktape-2.5.0/src-separate/duk_json.h
Examining data/duktape-2.5.0/src-separate/duk_bi_protos.h
Examining data/duktape-2.5.0/src-separate/duk_bi_symbol.c
Examining data/duktape-2.5.0/src-separate/duk_bi_buffer.c
Examining data/duktape-2.5.0/src-separate/duk_heap_memory.c
Examining data/duktape-2.5.0/src-separate/duk_hobject_pc2line.c
Examining data/duktape-2.5.0/src-separate/duk_debugger.h
Examining data/duktape-2.5.0/src-separate/duk_refcount.h
Examining data/duktape-2.5.0/src-separate/duk_hobject_class.c
Examining data/duktape-2.5.0/src-separate/duk_internal.h
Examining data/duktape-2.5.0/src-separate/duk_hbuffer_alloc.c
Examining data/duktape-2.5.0/src-separate/duk_bi_json.c
Examining data/duktape-2.5.0/src-separate/duk_strings.h
Examining data/duktape-2.5.0/src-separate/duk_builtins.h
Examining data/duktape-2.5.0/src-separate/duk_api_call.c
Examining data/duktape-2.5.0/src-separate/duk_hbuffer_ops.c
Examining data/duktape-2.5.0/src-separate/duk_error_augment.c
Examining data/duktape-2.5.0/src-separate/duk_bi_regexp.c
Examining data/duktape-2.5.0/src-separate/duk_error_longjmp.c
Examining data/duktape-2.5.0/src-separate/duk_api_debug.c
Examining data/duktape-2.5.0/src-separate/duk_util_bitdecoder.c
Examining data/duktape-2.5.0/src-separate/duk_bi_cbor.c
Examining data/duktape-2.5.0/src-separate/duk_bi_encoding.c
Examining data/duktape-2.5.0/src-separate/duk_lexer.c
Examining data/duktape-2.5.0/src-separate/duk_hobject.h
Examining data/duktape-2.5.0/src-separate/duk_hthread_misc.c
Examining data/duktape-2.5.0/src-separate/duk_numconv.c
Examining data/duktape-2.5.0/src-separate/duk_js_var.c
Examining data/duktape-2.5.0/src-separate/duk_heap_finalize.c
Examining data/duktape-2.5.0/src-separate/duk_hcompfunc.h
Examining data/duktape-2.5.0/src-separate/duk_util_double.c
Examining data/duktape-2.5.0/src-separate/duk_bi_duktape.c
Examining data/duktape-2.5.0/src-separate/duk_js_compiler.h
Examining data/duktape-2.5.0/src-separate/duk_util_bufwriter.c
Examining data/duktape-2.5.0/src-separate/duk_hthread.h
Examining data/duktape-2.5.0/src-separate/duk_regexp_compiler.c
Examining data/duktape-2.5.0/src-separate/duk_util_memrw.c
Examining data/duktape-2.5.0/src-separate/duk_api_codec.c
Examining data/duktape-2.5.0/src-separate/duk_heap_stringtable.c
Examining data/duktape-2.5.0/src-separate/duk_hbuffer.h
Examining data/duktape-2.5.0/src-separate/duk_util_memory.c
Examining data/duktape-2.5.0/src-separate/duk_api_internal.h
Examining data/duktape-2.5.0/src-separate/duk_regexp_executor.c
Examining data/duktape-2.5.0/src-separate/duk_api_time.c
Examining data/duktape-2.5.0/src-separate/duk_util_bitencoder.c
Examining data/duktape-2.5.0/src-separate/duk_hproxy.h
Examining data/duktape-2.5.0/src-separate/duk_builtins.c
Examining data/duktape-2.5.0/src-separate/duk_api_bytecode.c
Examining data/duktape-2.5.0/src-separate/duk_api_heap.c
Examining data/duktape-2.5.0/src-separate/duk_hthread_builtins.c
Examining data/duktape-2.5.0/src-separate/duk_hstring.h
Examining data/duktape-2.5.0/src-separate/duk_api_stack.c
Examining data/duktape-2.5.0/src-separate/duk_debug_macros.c
Examining data/duktape-2.5.0/src-separate/duk_api_memory.c
Examining data/duktape-2.5.0/src-separate/duk_error_macros.c
Examining data/duktape-2.5.0/src-separate/duk_hstring_misc.c
Examining data/duktape-2.5.0/src-separate/duk_lexer.h
Examining data/duktape-2.5.0/src-separate/duk_hbuffer_assert.c
Examining data/duktape-2.5.0/src-separate/duk_error_throw.c
Examining data/duktape-2.5.0/src-separate/duk_bi_proxy.c
Examining data/duktape-2.5.0/src-separate/duk_tval.c
Examining data/duktape-2.5.0/src-separate/duk_heaphdr_assert.c
Examining data/duktape-2.5.0/src-separate/duk_bi_promise.c
Examining data/duktape-2.5.0/src-separate/duk_jmpbuf.h
Examining data/duktape-2.5.0/src-separate/duk_util_misc.c
Examining data/duktape-2.5.0/src-separate/duk_bi_function.c
Examining data/duktape-2.5.0/src-separate/duk_replacements.h
Examining data/duktape-2.5.0/src-separate/duk_exception.h
Examining data/duktape-2.5.0/src-separate/duk_bi_math.c
Examining data/duktape-2.5.0/src-separate/duk_selftest.c
Examining data/duktape-2.5.0/src-separate/duk_util_tinyrandom.c
Examining data/duktape-2.5.0/src-separate/duk_bi_number.c
Examining data/duktape-2.5.0/src-separate/duk_bi_date_windows.c
Examining data/duktape-2.5.0/src-separate/duk_bi_global.c
Examining data/duktape-2.5.0/src-separate/duk_api_string.c
Examining data/duktape-2.5.0/src-separate/duk_heap_stringcache.c
Examining data/duktape-2.5.0/src-separate/duk_util_hashbytes.c
Examining data/duktape-2.5.0/src-separate/duk_unicode.h
Examining data/duktape-2.5.0/src-separate/duk_unicode_tables.c
Examining data/duktape-2.5.0/src-separate/duk_api_inspect.c
Examining data/duktape-2.5.0/src-separate/duk_heap_hashstring.c
Examining data/duktape-2.5.0/src-separate/duk_selftest.h
Examining data/duktape-2.5.0/src-separate/duk_util.h
Examining data/duktape-2.5.0/src-separate/duk_error.h
Examining data/duktape-2.5.0/src-separate/duk_hobject_misc.c
Examining data/duktape-2.5.0/src-separate/duk_heap_markandsweep.c
Examining data/duktape-2.5.0/src-separate/duk_hobject_props.c
Examining data/duktape-2.5.0/src-separate/duk_debugger.c
Examining data/duktape-2.5.0/src-separate/duk_js_executor.c
Examining data/duktape-2.5.0/src-separate/duk_hbufobj.h
Examining data/duktape-2.5.0/examples/debug-trans-socket/duk_trans_socket_unix.c
Examining data/duktape-2.5.0/examples/debug-trans-socket/duk_trans_socket_windows.c
Examining data/duktape-2.5.0/examples/debug-trans-socket/duk_trans_socket.h
Examining data/duktape-2.5.0/examples/codepage-conv/duk_codepage_conv.h
Examining data/duktape-2.5.0/examples/codepage-conv/duk_codepage_conv.c
Examining data/duktape-2.5.0/examples/codepage-conv/test.c
Examining data/duktape-2.5.0/examples/hello/hello.c
Examining data/duktape-2.5.0/examples/guide/processlines.c
Examining data/duktape-2.5.0/examples/guide/uppercase.c
Examining data/duktape-2.5.0/examples/guide/primecheck.c
Examining data/duktape-2.5.0/examples/alloc-logging/duk_alloc_logging.h
Examining data/duktape-2.5.0/examples/alloc-logging/duk_alloc_logging.c
Examining data/duktape-2.5.0/examples/jxpretty/jxpretty.c
Examining data/duktape-2.5.0/examples/dummy-date-provider/dummy_date_provider.c
Examining data/duktape-2.5.0/examples/cpp-exceptions/cpp_exceptions.cpp
Examining data/duktape-2.5.0/examples/eval/eval.c
Examining data/duktape-2.5.0/examples/alloc-torture/duk_alloc_torture.h
Examining data/duktape-2.5.0/examples/alloc-torture/duk_alloc_torture.c
Examining data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.h
Examining data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c
Examining data/duktape-2.5.0/examples/debug-trans-dvalue/test.c
Examining data/duktape-2.5.0/examples/eventloop/fileio.c
Examining data/duktape-2.5.0/examples/eventloop/socket.c
Examining data/duktape-2.5.0/examples/eventloop/poll.c
Examining data/duktape-2.5.0/examples/eventloop/main.c
Examining data/duktape-2.5.0/examples/eventloop/c_eventloop.h
Examining data/duktape-2.5.0/examples/eventloop/c_eventloop.c
Examining data/duktape-2.5.0/examples/sandbox/sandbox.c
Examining data/duktape-2.5.0/examples/cmdline/duk_cmdline.h
Examining data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c
Examining data/duktape-2.5.0/examples/cmdline/duk_cmdline.c
Examining data/duktape-2.5.0/examples/alloc-hybrid/duk_alloc_hybrid.c
Examining data/duktape-2.5.0/examples/alloc-hybrid/duk_alloc_hybrid.h
Examining data/duktape-2.5.0/src-noline/duk_config.h
Examining data/duktape-2.5.0/src-noline/duktape.h
Examining data/duktape-2.5.0/src-noline/duktape.c
Examining data/duktape-2.5.0/src/duk_config.h
Examining data/duktape-2.5.0/src/duktape.h
Examining data/duktape-2.5.0/src/duktape.c

FINAL RESULTS:

data/duktape-2.5.0/examples/alloc-logging/duk_alloc_logging.c:50:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(log_file, fmt, ap);
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:43:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:43:18:  [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 _snprintf
data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c:223:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, sizeof(buf), fmt, ap);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:124:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "str:%ld:\"%s\"", (long) dv->len, hexbuf);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:128:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "buf:%ld:%s", (long) dv->len, hexbuf);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:158:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "obj:%d:%s", (int) dv->i, hexbuf);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:162:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "ptr:%s", hexbuf);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:166:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "lfunc:%04x:%s", (unsigned int) dv->i, hexbuf);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:170:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "heapptr:%s", hexbuf);
data/duktape-2.5.0/extras/alloc-pool/duk_alloc_pool.c:41:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, ap);
data/duktape-2.5.0/extras/minimal-printf/test.c:166:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf((const char *) fmtbuf, 321);
data/duktape-2.5.0/extras/minimal-printf/test.c:168:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf((const char *) fmtbuf, -321);
data/duktape-2.5.0/extras/minimal-printf/test.c:183:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf((const char *) fmtbuf, 321);
data/duktape-2.5.0/extras/minimal-printf/test.c:185:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf((const char *) fmtbuf, -321);
data/duktape-2.5.0/extras/module-duktape/duk_module_duktape.c:13:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/duktape-2.5.0/extras/module-duktape/duk_module_duktape.c:13:18:  [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 _snprintf
data/duktape-2.5.0/src-noline/duk_config.h:1376:26:  [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 DUK_SNPRINTF     snprintf
data/duktape-2.5.0/src-noline/duk_config.h:1377:26:  [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 DUK_VSNPRINTF    vsnprintf
data/duktape-2.5.0/src-noline/duk_config.h:1383:26:  [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 DUK_SNPRINTF     _snprintf
data/duktape-2.5.0/src-noline/duk_config.h:2231:26:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define DUK_SPRINTF      sprintf
data/duktape-2.5.0/src-noline/duk_config.h:2235:26:  [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 DUK_SNPRINTF     snprintf
data/duktape-2.5.0/src-noline/duk_config.h:2238:26:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define DUK_VSPRINTF     vsprintf
data/duktape-2.5.0/src-noline/duk_config.h:2242:26:  [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 DUK_VSNPRINTF    vsnprintf
data/duktape-2.5.0/src-noline/duk_config.h:2245:26:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define DUK_SSCANF       sscanf
data/duktape-2.5.0/src-noline/duk_config.h:2248:26:  [4] (buffer) vsscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define DUK_VSSCANF      vsscanf
data/duktape-2.5.0/src-separate/duk_config.h:1376:26:  [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 DUK_SNPRINTF     snprintf
data/duktape-2.5.0/src-separate/duk_config.h:1377:26:  [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 DUK_VSNPRINTF    vsnprintf
data/duktape-2.5.0/src-separate/duk_config.h:1383:26:  [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 DUK_SNPRINTF     _snprintf
data/duktape-2.5.0/src-separate/duk_config.h:2231:26:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define DUK_SPRINTF      sprintf
data/duktape-2.5.0/src-separate/duk_config.h:2235:26:  [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 DUK_SNPRINTF     snprintf
data/duktape-2.5.0/src-separate/duk_config.h:2238:26:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define DUK_VSPRINTF     vsprintf
data/duktape-2.5.0/src-separate/duk_config.h:2242:26:  [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 DUK_VSNPRINTF    vsnprintf
data/duktape-2.5.0/src-separate/duk_config.h:2245:26:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define DUK_SSCANF       sscanf
data/duktape-2.5.0/src-separate/duk_config.h:2248:26:  [4] (buffer) vsscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define DUK_VSSCANF      vsscanf
data/duktape-2.5.0/src/duk_config.h:1376:26:  [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 DUK_SNPRINTF     snprintf
data/duktape-2.5.0/src/duk_config.h:1377:26:  [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 DUK_VSNPRINTF    vsnprintf
data/duktape-2.5.0/src/duk_config.h:1383:26:  [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 DUK_SNPRINTF     _snprintf
data/duktape-2.5.0/src/duk_config.h:2231:26:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define DUK_SPRINTF      sprintf
data/duktape-2.5.0/src/duk_config.h:2235:26:  [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 DUK_SNPRINTF     snprintf
data/duktape-2.5.0/src/duk_config.h:2238:26:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define DUK_VSPRINTF     vsprintf
data/duktape-2.5.0/src/duk_config.h:2242:26:  [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 DUK_VSNPRINTF    vsnprintf
data/duktape-2.5.0/src/duk_config.h:2245:26:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define DUK_SSCANF       sscanf
data/duktape-2.5.0/src/duk_config.h:2248:26:  [4] (buffer) vsscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define DUK_VSSCANF      vsscanf
data/duktape-2.5.0/examples/alloc-hybrid/duk_alloc_hybrid.c:228: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(new_ptr, ptr, hdr->size);
data/duktape-2.5.0/examples/alloc-logging/duk_alloc_logging.c:43: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).
		log_file = fopen(ALLOC_LOG_FILE, "wb");
data/duktape-2.5.0/examples/alloc-torture/duk_alloc_torture.c:131:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy((void *) p, (void *) (old_p + sizeof(alloc_hdr) + RED_ZONE_SIZE), old_size);
data/duktape-2.5.0/examples/alloc-torture/duk_alloc_torture.c:134:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy((void *) p, (void *) (old_p + sizeof(alloc_hdr) + RED_ZONE_SIZE), size);
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:223:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buf, (const void *) src_data, src_len);
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:242:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char fnbuf[256];
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:260:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		f = fopen(fnbuf, "wb");
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:651:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fnbuf[256];
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:669:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(fnbuf, "rb");
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:873:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(fn, "rb");
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:927:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(fn, "wb");
data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c:220:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c:228:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		lowmem_alloc_log = fopen("/tmp/lowmem-alloc-log.txt", "wb");
data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c:491:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ret, ptr, len);
data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c:949:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *) ret, ptr, (size_t) len);
data/duktape-2.5.0/examples/codepage-conv/duk_codepage_conv.c:33:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		cp = codepage[((unsigned char *) str)[i]] & 0xffffUL;
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:77:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(buf, "%c", c);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:80:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(buf, "\\x%02x", (unsigned int) c);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:84:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf, "%02x", (unsigned int) c);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:89:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "...");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:96:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char hexbuf[32 * 4 + 4];  /* 32 hex encoded or \xXX escaped bytes, possible "...", NUL */
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:99:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "NULL");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:105:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "EOM");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:108:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "REQ");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:111:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "REP");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:114:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "ERR");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:117:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "NFY");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:120:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "%d", dv->i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:131:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "undefined");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:134:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "undefined");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:137:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "null");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:140:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "true");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:143:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "false");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:148:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(buf, "-0");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:153:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf, "%lg", dv->d);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:173:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "unknown:%d", (int) dv->tag);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:213:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *) p, (const void *) buf, len);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:291: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 b[8];
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:293: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((void *) u.b, (const void *) p, 8);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:324: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 b[8];
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:328:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *) p, (const void *) u.b, 8);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:394: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 b[8];
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:470:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK_DVALUE_TOSTRING_BUFLEN];
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:543:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:551:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:559:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:574:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:582:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:641:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:655:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:670:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:684:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) dv->buf, i);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:1127:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) buffer, (const void *) (ctx->send_buf.base + ctx->send_buf.read_offset), now);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:1149: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((void *) p, (const void *) buffer, (size_t) length);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:1175:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char buf[DUK_DVALUE_TOSTRING_BUFLEN];
data/duktape-2.5.0/examples/debug-trans-dvalue/test.c:109:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK_DVALUE_TOSTRING_BUFLEN];
data/duktape-2.5.0/examples/eventloop/c_eventloop.c:103:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) &tmp, (void *) (t - 1), sizeof(ev_timer));
data/duktape-2.5.0/examples/eventloop/c_eventloop.c:104:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) (t - 1), (void *) t, sizeof(ev_timer));
data/duktape-2.5.0/examples/eventloop/c_eventloop.c:105:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) t, (void *) &tmp, sizeof(ev_timer));
data/duktape-2.5.0/examples/eventloop/c_eventloop.c:158:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *) &timer_expiring, (void *) t, sizeof(ev_timer));
data/duktape-2.5.0/examples/eventloop/c_eventloop.c:212:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) (timer_list + timer_count), (void *) t, sizeof(ev_timer));
data/duktape-2.5.0/examples/eventloop/c_eventloop.c:250:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) (poll_list + j), (void *) (poll_list + i), sizeof(struct pollfd));
data/duktape-2.5.0/examples/eventloop/fileio.c:22:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(filename, "rb");
data/duktape-2.5.0/examples/eventloop/main.c:165:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(filename, "rb");
data/duktape-2.5.0/examples/eventloop/socket.c:233:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char readbuf[1024];
data/duktape-2.5.0/examples/eventloop/socket.c:243:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, readbuf, rc);
data/duktape-2.5.0/examples/guide/primecheck.c:11: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[16384];
data/duktape-2.5.0/examples/guide/primecheck.c:13:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "rb");
data/duktape-2.5.0/examples/guide/processlines.c:11: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[16384];
data/duktape-2.5.0/examples/guide/processlines.c:13:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "rb");
data/duktape-2.5.0/examples/guide/processlines.c:25:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[4096];
data/duktape-2.5.0/examples/jxpretty/jxpretty.c:19:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/duktape-2.5.0/examples/sandbox/sandbox.c:157:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/duktape-2.5.0/examples/sandbox/sandbox.c:189:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(duk_require_string(ctx, -1), "rb");
data/duktape-2.5.0/extras/alloc-pool/duk_alloc_pool.c:489:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						memcpy((void *) new_ptr, (const void *) ptr, (size_t) size);
data/duktape-2.5.0/extras/alloc-pool/duk_alloc_pool.c:512:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy((void *) new_ptr, (const void *) ptr, (size_t) st->size);
data/duktape-2.5.0/extras/alloc-pool/test.c:74:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[200000];
data/duktape-2.5.0/extras/cbor/duk_cbor.c:184:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) &a, 2);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:188:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) &a, 2);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:205:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) &a, (const void *) p, 2);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:209:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) &a, (const void *) p, 2);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:232:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) &a, 4);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:236:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) &a, 4);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:255:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) &a, (const void *) p, 4);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:259:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) &a, (const void *) p, 4);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:279:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) u.x, 8);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:285:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) u.x, 8);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:292:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) u.x, 8);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:295:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) u.x, 8);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:312:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) u.x, 4);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:315:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) u.x, 4);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:887: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.
	(void) memcpy((void *) p, (const void *) str, len);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:927:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		(void) memcpy((void *) p, (const void *) buf, len);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:982: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.
	(void) memcpy((void *) p, (const void *) buf, len);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:1360: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.
	(void) memcpy((void *) buf, (const void *) inp, (size_t) len);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:1384: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.
					(void) memcpy((void *) p, (const void *) buf_data, buf_size);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:1635: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.
	(void) memcpy((void *) u.x, (const void *) inp, 4);
data/duktape-2.5.0/extras/cbor/duk_cbor.c:1644: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.
	(void) memcpy((void *) u.x, (const void *) inp, 8);
data/duktape-2.5.0/extras/cbor/jsoncbor.c:178:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			write_indent = atoi(argv[i + 1]);
data/duktape-2.5.0/extras/duk-v1-compat/duk_v1_compat.c:33:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	f = fopen(path, "rb");
data/duktape-2.5.0/extras/logging/duk_logging.c:184:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf((char *) date_buf, "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ",
data/duktape-2.5.0/extras/logging/duk_logging.c:251: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((void *) p, (const void *) date_buf, (size_t) date_len);
data/duktape-2.5.0/extras/logging/duk_logging.c:256:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *) p, (const void *) q, (size_t) 3);
data/duktape-2.5.0/extras/logging/duk_logging.c:262:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((void *) p, (const void *) arg_str, (size_t) arg_len);
data/duktape-2.5.0/extras/logging/duk_logging.c:271:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void *) p, (const void *) arg_str, (size_t) arg_len);
data/duktape-2.5.0/extras/minimal-printf/duk_minimal_printf.c:22: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 duk__format_digits[16] = {
data/duktape-2.5.0/extras/minimal-printf/duk_minimal_printf.c:37:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[24];  /* 2^64 = 18446744073709552000, length 20 */
data/duktape-2.5.0/extras/minimal-printf/test.c:5:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char buffer[32];
data/duktape-2.5.0/extras/minimal-printf/test.c:149:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char fmtbuf[16];
data/duktape-2.5.0/extras/print-alert/duk_print_alert.c:83:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((void *) p, (const void *) p_str, sz_str);
data/duktape-2.5.0/src-input/duk_api_stack.c:34: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.
DUK_LOCAL const char * const duk__symbol_type_strings[4] = {
data/duktape-2.5.0/src-input/duk_api_stack.c:2723: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.
DUK_LOCAL const char * const duk__toprim_hint_strings[3] = {
data/duktape-2.5.0/src-input/duk_bi_array.c:789:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/duktape-2.5.0/src-input/duk_bi_date.c:962:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char yearstr[8];   /* "-123456\0" */
data/duktape-2.5.0/src-input/duk_bi_date.c:963:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tzstr[8];     /* "+11:22\0" */
data/duktape-2.5.0/src-input/duk_bi_date.c:1012:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY], (int) sep,
data/duktape-2.5.0/src-input/duk_bi_date.c:1017:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY]);
data/duktape-2.5.0/src-input/duk_bi_date_unix.c:204:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__STRPTIME_BUF_SIZE];
data/duktape-2.5.0/src-input/duk_bi_date_unix.c:264:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__STRFTIME_BUF_SIZE];
data/duktape-2.5.0/src-input/duk_bi_json.c:1616:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64];  /* XXX: how to figure correct size? */
data/duktape-2.5.0/src-input/duk_bi_json.c:2748:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[64];
data/duktape-2.5.0/src-input/duk_bi_json.c:3072:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static const char spaces[10] = {
data/duktape-2.5.0/src-input/duk_debug.h:167:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-input/duk_debug.h:169:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-input/duk_debug_fixedbuffer.c:59:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64+1];
data/duktape-2.5.0/src-input/duk_debug_macros.c:32:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src-input/duk_debug_macros.c:51:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-input/duk_debug_macros.c:53: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.
DUK_INTERNAL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-input/duk_debug_macros.c:63:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src-input/duk_debug_vsnprintf.c:78: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.
DUK_LOCAL const char * const duk__bc_optab[256] = {
data/duktape-2.5.0/src-input/duk_debug_vsnprintf.c:816: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.
		duk_fb_sprintf(fb, "%s", (const char *) duk__bc_optab[opcode]);
data/duktape-2.5.0/src-input/duk_debug_vsnprintf.c:958: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 fmtbuf[DUK__MAX_FORMAT_TAG_LENGTH];
data/duktape-2.5.0/src-input/duk_error_longjmp.c:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src-input/duk_error_longjmp.c:34:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src-input/duk_error_macros.c:13:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[DUK__ERRFMT_BUFSIZE];
data/duktape-2.5.0/src-input/duk_numconv.c:91:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__BI_MAX_PARTS * 9 + 64];
data/duktape-2.5.0/src-input/duk_selftest.c:621:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			((unsigned char *) ptr)[j] = (unsigned char) (0x80 + j);
data/duktape-2.5.0/src-input/duk_selftest.c:631:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			x = ((unsigned char *) ptr)[j];
data/duktape-2.5.0/src-noline/duk_config.h:2209:26:  [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 DUK_MEMCPY       memcpy
data/duktape-2.5.0/src-noline/duktape.c:9492:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-noline/duktape.c:9494:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-noline/duktape.c:10822:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src-noline/duktape.c:10841: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.
DUK_INTERNAL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-noline/duktape.c:10843: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.
DUK_INTERNAL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-noline/duktape.c:10853:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src-noline/duktape.c:11758:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__ERRFMT_BUFSIZE];
data/duktape-2.5.0/src-noline/duktape.c:17998: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.
DUK_LOCAL const char * const duk__symbol_type_strings[4] = {
data/duktape-2.5.0/src-noline/duktape.c:20687: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.
DUK_LOCAL const char * const duk__toprim_hint_strings[3] = {
data/duktape-2.5.0/src-noline/duktape.c:26119:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/duktape-2.5.0/src-noline/duktape.c:32617:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char yearstr[8];   /* "-123456\0" */
data/duktape-2.5.0/src-noline/duktape.c:32618:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tzstr[8];     /* "+11:22\0" */
data/duktape-2.5.0/src-noline/duktape.c:32667:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY], (int) sep,
data/duktape-2.5.0/src-noline/duktape.c:32672:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY]);
data/duktape-2.5.0/src-noline/duktape.c:33677:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__STRPTIME_BUF_SIZE];
data/duktape-2.5.0/src-noline/duktape.c:33737:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__STRFTIME_BUF_SIZE];
data/duktape-2.5.0/src-noline/duktape.c:37883:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64];  /* XXX: how to figure correct size? */
data/duktape-2.5.0/src-noline/duktape.c:39015:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[64];
data/duktape-2.5.0/src-noline/duktape.c:39339:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static const char spaces[10] = {
data/duktape-2.5.0/src-noline/duktape.c:43853:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64+1];
data/duktape-2.5.0/src-noline/duktape.c:43941: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.
DUK_LOCAL const char * const duk__bc_optab[256] = {
data/duktape-2.5.0/src-noline/duktape.c:44679: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.
		duk_fb_sprintf(fb, "%s", (const char *) duk__bc_optab[opcode]);
data/duktape-2.5.0/src-noline/duktape.c:44821: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 fmtbuf[DUK__MAX_FORMAT_TAG_LENGTH];
data/duktape-2.5.0/src-noline/duktape.c:48485:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src-noline/duktape.c:48499:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src-noline/duktape.c:86843:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__BI_MAX_PARTS * 9 + 64];
data/duktape-2.5.0/src-noline/duktape.c:91984:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			((unsigned char *) ptr)[j] = (unsigned char) (0x80 + j);
data/duktape-2.5.0/src-noline/duktape.c:91994:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			x = ((unsigned char *) ptr)[j];
data/duktape-2.5.0/src-noline/duktape.h:261:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[128];
data/duktape-2.5.0/src-separate/duk_api_stack.c:34: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.
DUK_LOCAL const char * const duk__symbol_type_strings[4] = {
data/duktape-2.5.0/src-separate/duk_api_stack.c:2723: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.
DUK_LOCAL const char * const duk__toprim_hint_strings[3] = {
data/duktape-2.5.0/src-separate/duk_bi_array.c:789:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/duktape-2.5.0/src-separate/duk_bi_date.c:962:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char yearstr[8];   /* "-123456\0" */
data/duktape-2.5.0/src-separate/duk_bi_date.c:963:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tzstr[8];     /* "+11:22\0" */
data/duktape-2.5.0/src-separate/duk_bi_date.c:1012:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY], (int) sep,
data/duktape-2.5.0/src-separate/duk_bi_date.c:1017:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY]);
data/duktape-2.5.0/src-separate/duk_bi_date_unix.c:204:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__STRPTIME_BUF_SIZE];
data/duktape-2.5.0/src-separate/duk_bi_date_unix.c:264:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__STRFTIME_BUF_SIZE];
data/duktape-2.5.0/src-separate/duk_bi_json.c:1616:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64];  /* XXX: how to figure correct size? */
data/duktape-2.5.0/src-separate/duk_bi_json.c:2748:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[64];
data/duktape-2.5.0/src-separate/duk_bi_json.c:3072:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static const char spaces[10] = {
data/duktape-2.5.0/src-separate/duk_config.h:2209:26:  [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 DUK_MEMCPY       memcpy
data/duktape-2.5.0/src-separate/duk_debug.h:167:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-separate/duk_debug.h:169:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-separate/duk_debug_fixedbuffer.c:59:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64+1];
data/duktape-2.5.0/src-separate/duk_debug_macros.c:32:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src-separate/duk_debug_macros.c:51:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-separate/duk_debug_macros.c:53: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.
DUK_INTERNAL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src-separate/duk_debug_macros.c:63:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src-separate/duk_debug_vsnprintf.c:78: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.
DUK_LOCAL const char * const duk__bc_optab[256] = {
data/duktape-2.5.0/src-separate/duk_debug_vsnprintf.c:816: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.
		duk_fb_sprintf(fb, "%s", (const char *) duk__bc_optab[opcode]);
data/duktape-2.5.0/src-separate/duk_debug_vsnprintf.c:958: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 fmtbuf[DUK__MAX_FORMAT_TAG_LENGTH];
data/duktape-2.5.0/src-separate/duk_error_longjmp.c:20:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src-separate/duk_error_longjmp.c:34:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src-separate/duk_error_macros.c:13:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[DUK__ERRFMT_BUFSIZE];
data/duktape-2.5.0/src-separate/duk_numconv.c:91:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUK__BI_MAX_PARTS * 9 + 64];
data/duktape-2.5.0/src-separate/duk_selftest.c:621:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			((unsigned char *) ptr)[j] = (unsigned char) (0x80 + j);
data/duktape-2.5.0/src-separate/duk_selftest.c:631:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			x = ((unsigned char *) ptr)[j];
data/duktape-2.5.0/src-separate/duktape.h:261:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[128];
data/duktape-2.5.0/src/duk_config.h:2209:26:  [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 DUK_MEMCPY       memcpy
data/duktape-2.5.0/src/duktape.c:9526:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src/duktape.c:9528:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
DUK_INTERNAL_DECL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src/duktape.c:10866:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src/duktape.c:10885: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.
DUK_INTERNAL char duk_debug_file_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src/duktape.c:10887: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.
DUK_INTERNAL char duk_debug_func_stash[DUK_DEBUG_STASH_SIZE];
data/duktape-2.5.0/src/duktape.c:10897:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__DEBUG_BUFSIZE];
data/duktape-2.5.0/src/duktape.c:11804:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__ERRFMT_BUFSIZE];
data/duktape-2.5.0/src/duktape.c:18061: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.
DUK_LOCAL const char * const duk__symbol_type_strings[4] = {
data/duktape-2.5.0/src/duktape.c:20750: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.
DUK_LOCAL const char * const duk__toprim_hint_strings[3] = {
data/duktape-2.5.0/src/duktape.c:26185:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[4096];
data/duktape-2.5.0/src/duktape.c:32687:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char yearstr[8];   /* "-123456\0" */
data/duktape-2.5.0/src/duktape.c:32688:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tzstr[8];     /* "+11:22\0" */
data/duktape-2.5.0/src/duktape.c:32737:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY], (int) sep,
data/duktape-2.5.0/src/duktape.c:32742:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		            (const char *) yearstr, (int) parts[DUK_DATE_IDX_MONTH], (int) parts[DUK_DATE_IDX_DAY]);
data/duktape-2.5.0/src/duktape.c:33748:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__STRPTIME_BUF_SIZE];
data/duktape-2.5.0/src/duktape.c:33808:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__STRFTIME_BUF_SIZE];
data/duktape-2.5.0/src/duktape.c:37961:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64];  /* XXX: how to figure correct size? */
data/duktape-2.5.0/src/duktape.c:39093:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[64];
data/duktape-2.5.0/src/duktape.c:39417:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static const char spaces[10] = {
data/duktape-2.5.0/src/duktape.c:43945:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[64+1];
data/duktape-2.5.0/src/duktape.c:44034: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.
DUK_LOCAL const char * const duk__bc_optab[256] = {
data/duktape-2.5.0/src/duktape.c:44772: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.
		duk_fb_sprintf(fb, "%s", (const char *) duk__bc_optab[opcode]);
data/duktape-2.5.0/src/duktape.c:44914: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 fmtbuf[DUK__MAX_FORMAT_TAG_LENGTH];
data/duktape-2.5.0/src/duktape.c:48581:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src/duktape.c:48595:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK_USE_FATAL_MAXLEN];
data/duktape-2.5.0/src/duktape.c:86975:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[DUK__BI_MAX_PARTS * 9 + 64];
data/duktape-2.5.0/src/duktape.c:92119:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			((unsigned char *) ptr)[j] = (unsigned char) (0x80 + j);
data/duktape-2.5.0/src/duktape.c:92129:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			x = ((unsigned char *) ptr)[j];
data/duktape-2.5.0/src/duktape.h:261:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char data[128];
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:690: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).
	duk_push_uint(ctx, (duk_uint_t) strlen(code));
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:757: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).
		duk_push_uint(ctx, (duk_uint_t) strlen(buffer));
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:808: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).
		fwrite(prompt, 1, strlen(prompt), stdout);
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:812:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			int c = fgetc(stdin);
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:1211:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(1000000);
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:1392: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).
		} else if (strlen(arg) >= 1 && arg[0] == '-') {
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:1429: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).
		} else if (strlen(arg) == 2 && strcmp(arg, "-e") == 0) {
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:1441: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).
		} else if (strlen(arg) == 2 && strcmp(arg, "-c") == 0) {
data/duktape-2.5.0/examples/cmdline/duk_cmdline.c:1444: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).
		} else if (strlen(arg) >= 1 && arg[0] == '-') {
data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c:236: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).
	(void) fwrite((const void *) buf, 1, strlen(buf), lowmem_alloc_log);
data/duktape-2.5.0/examples/cmdline/duk_cmdline_lowmem.c:897:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(str) == len && memcmp(ptr, (const void *) str, len) == 0) {
data/duktape-2.5.0/examples/codepage-conv/test.c:293:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	duk_decode_string_codepage(ctx, example_source, strlen(example_source), cp1252);
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:150:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
				sprintf(buf, "0");
data/duktape-2.5.0/examples/debug-trans-dvalue/duk_trans_dvalue.c:744:88:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	duk__trans_dvalue_send_and_free(ctx, duk_dvalue_make_tag_data(DUK_DVALUE_STRING, str, strlen(str)));
data/duktape-2.5.0/examples/debug-trans-socket/duk_trans_socket_unix.c:180:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret = read(client_sock, (void *) buffer, (size_t) length);
data/duktape-2.5.0/examples/eventloop/main.c:235: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).
		} else if (strlen(arg) > 1 && arg[0] == '-') {
data/duktape-2.5.0/examples/guide/processlines.c:52:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(stdin);
data/duktape-2.5.0/extras/logging/duk_logging.c:189: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).
	date_len = strlen((const char *) date_buf);
data/duktape-2.5.0/extras/module-duktape/duk_module_duktape.c:81: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).
	DUK__ASSERT(strlen((const char *) buf) < sizeof(buf));  /* at most sizeof(buf) - 1 */
data/duktape-2.5.0/src-input/duk_lexer.h:187:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:190:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:193:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:196:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:199:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:202:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:205:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:208:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:211:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:214:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:217:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:220:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:223:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:226:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:229:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:232:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:235:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:238:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:241:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:244:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:247:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:250:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:253:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:256:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:259:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:262:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:265:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:268:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:271:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:274:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:277:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:280:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:283:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:286:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:289:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:292:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:295:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:298:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:301:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:304:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:307:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:310:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:313:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:316:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-input/duk_lexer.h:319:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duk_config.h:2222: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).
#define DUK_STRLEN       strlen
data/duktape-2.5.0/src-noline/duktape.c:3889:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3892:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3895:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3898:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3901:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3904:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3907:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3910:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3913:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3916:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3919:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3922:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3925:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3928:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3931:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3934:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3937:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3940:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3943:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3946:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3949:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3952:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3955:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3958:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3961:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3964:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3967:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3970:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3973:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3976:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3979:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3982:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3985:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3988:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3991:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3994:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:3997:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4000:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4003:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4006:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4009:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4012:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4015:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4018:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-noline/duktape.c:4021:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_config.h:2222: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).
#define DUK_STRLEN       strlen
data/duktape-2.5.0/src-separate/duk_lexer.h:187:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:190:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:193:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:196:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:199:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:202:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:205:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:208:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:211:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:214:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:217:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:220:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:223:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:226:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:229:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:232:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:235:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:238:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:241:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:244:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:247:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:250:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:253:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:256:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:259:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:262:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:265:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:268:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:271:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:274:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:277:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:280:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:283:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:286:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:289:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:292:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:295:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:298:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:301:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:304:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:307:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:310:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:313:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:316:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src-separate/duk_lexer.h:319:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duk_config.h:2222: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).
#define DUK_STRLEN       strlen
data/duktape-2.5.0/src/duktape.c:3904:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3907:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3910:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3913:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3916:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3919:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3922:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3925:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3928:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3931:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3934:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3937:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3940:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3943:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3946:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3949:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3952:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3955:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3958:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3961:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3964:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3967:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3970:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3973:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3976:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3979:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3982:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3985:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3988:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3991:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3994:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:3997:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4000:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4003:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4006:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4009:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4012:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4015:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4018:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4021:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4024:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4027:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4030:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4033:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines
data/duktape-2.5.0/src/duktape.c:4036:8:  [1] (buffer) mismatch:
  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.
#error mismatch in token defines

ANALYSIS SUMMARY:

Hits = 474
Lines analyzed = 419659 in approximately 12.00 seconds (34966 lines/second)
Physical Source Lines of Code (SLOC) = 276537
Hits@level = [0] 412 [1] 202 [2] 228 [3]   0 [4]  44 [5]   0
Hits@level+ = [0+] 886 [1+] 474 [2+] 272 [3+]  44 [4+]  44 [5+]   0
Hits/KSLOC@level+ = [0+] 3.20391 [1+] 1.71406 [2+] 0.983594 [3+] 0.159111 [4+] 0.159111 [5+]   0
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.