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/ruby3.0-3.0.0~preview1/addr2line.c Examining data/ruby3.0-3.0.0~preview1/addr2line.h Examining data/ruby3.0-3.0.0~preview1/array.c Examining data/ruby3.0-3.0.0~preview1/ast.c Examining data/ruby3.0-3.0.0~preview1/bignum.c Examining data/ruby3.0-3.0.0~preview1/builtin.c Examining data/ruby3.0-3.0.0~preview1/builtin.h Examining data/ruby3.0-3.0.0~preview1/ccan/build_assert/build_assert.h Examining data/ruby3.0-3.0.0~preview1/ccan/check_type/check_type.h Examining data/ruby3.0-3.0.0~preview1/ccan/container_of/container_of.h Examining data/ruby3.0-3.0.0~preview1/ccan/list/list.h Examining data/ruby3.0-3.0.0~preview1/ccan/str/str.h Examining data/ruby3.0-3.0.0~preview1/class.c Examining data/ruby3.0-3.0.0~preview1/compar.c Examining data/ruby3.0-3.0.0~preview1/compile.c Examining data/ruby3.0-3.0.0~preview1/complex.c Examining data/ruby3.0-3.0.0~preview1/constant.h Examining data/ruby3.0-3.0.0~preview1/cont.c Examining data/ruby3.0-3.0.0~preview1/coroutine/amd64/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/arm32/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/arm64/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/copy/Context.c Examining data/ruby3.0-3.0.0~preview1/coroutine/copy/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/ppc64le/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/ucontext/Context.c Examining data/ruby3.0-3.0.0~preview1/coroutine/ucontext/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/win32/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/win64/Context.h Examining data/ruby3.0-3.0.0~preview1/coroutine/x86/Context.h Examining data/ruby3.0-3.0.0~preview1/debug.c Examining data/ruby3.0-3.0.0~preview1/debug_counter.c Examining data/ruby3.0-3.0.0~preview1/debug_counter.h Examining data/ruby3.0-3.0.0~preview1/dir.c Examining data/ruby3.0-3.0.0~preview1/dln.c Examining data/ruby3.0-3.0.0~preview1/dln.h Examining data/ruby3.0-3.0.0~preview1/dln_find.c Examining data/ruby3.0-3.0.0~preview1/dmydln.c Examining data/ruby3.0-3.0.0~preview1/dmyenc.c Examining data/ruby3.0-3.0.0~preview1/dmyext.c Examining data/ruby3.0-3.0.0~preview1/enc/ascii.c Examining data/ruby3.0-3.0.0~preview1/enc/big5.c Examining data/ruby3.0-3.0.0~preview1/enc/cesu_8.c Examining data/ruby3.0-3.0.0~preview1/enc/cp949.c Examining data/ruby3.0-3.0.0~preview1/enc/ebcdic.h Examining data/ruby3.0-3.0.0~preview1/enc/emacs_mule.c Examining data/ruby3.0-3.0.0~preview1/enc/encdb.c Examining data/ruby3.0-3.0.0~preview1/enc/euc_jp.c Examining data/ruby3.0-3.0.0~preview1/enc/euc_kr.c Examining data/ruby3.0-3.0.0~preview1/enc/euc_tw.c Examining data/ruby3.0-3.0.0~preview1/enc/gb18030.c Examining data/ruby3.0-3.0.0~preview1/enc/gb2312.c Examining data/ruby3.0-3.0.0~preview1/enc/gbk.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_2022_jp.h Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859.h Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_1.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_10.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_11.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_13.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_14.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_15.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_16.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_2.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_3.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_4.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_5.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_6.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_7.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_8.c Examining data/ruby3.0-3.0.0~preview1/enc/iso_8859_9.c Examining data/ruby3.0-3.0.0~preview1/enc/jis/props.h Examining data/ruby3.0-3.0.0~preview1/enc/koi8_r.c Examining data/ruby3.0-3.0.0~preview1/enc/koi8_u.c Examining data/ruby3.0-3.0.0~preview1/enc/mktable.c Examining data/ruby3.0-3.0.0~preview1/enc/shift_jis.c Examining data/ruby3.0-3.0.0~preview1/enc/shift_jis.h Examining data/ruby3.0-3.0.0~preview1/enc/trans/big5.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/cesu_8.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/chinese.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/ebcdic.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/emoji.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/emoji_iso2022_kddi.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/emoji_sjis_docomo.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/emoji_sjis_kddi.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/emoji_sjis_softbank.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/escape.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/gb18030.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/gbk.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/iso2022.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/japanese.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/japanese_euc.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/japanese_sjis.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/korean.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/newline.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/single_byte.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/transdb.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/utf8_mac.c Examining data/ruby3.0-3.0.0~preview1/enc/trans/utf_16_32.c Examining data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/casefold.h Examining data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h Examining data/ruby3.0-3.0.0~preview1/enc/unicode.c Examining data/ruby3.0-3.0.0~preview1/enc/us_ascii.c Examining data/ruby3.0-3.0.0~preview1/enc/utf_16_32.h Examining data/ruby3.0-3.0.0~preview1/enc/utf_16be.c Examining data/ruby3.0-3.0.0~preview1/enc/utf_16le.c Examining data/ruby3.0-3.0.0~preview1/enc/utf_32be.c Examining data/ruby3.0-3.0.0~preview1/enc/utf_32le.c Examining data/ruby3.0-3.0.0~preview1/enc/utf_7.h Examining data/ruby3.0-3.0.0~preview1/enc/utf_8.c Examining data/ruby3.0-3.0.0~preview1/enc/windows_1250.c Examining data/ruby3.0-3.0.0~preview1/enc/windows_1251.c Examining data/ruby3.0-3.0.0~preview1/enc/windows_1252.c Examining data/ruby3.0-3.0.0~preview1/enc/windows_1253.c Examining data/ruby3.0-3.0.0~preview1/enc/windows_1254.c Examining data/ruby3.0-3.0.0~preview1/enc/windows_1257.c Examining data/ruby3.0-3.0.0~preview1/enc/windows_31j.c Examining data/ruby3.0-3.0.0~preview1/enc/x_emoji.h Examining data/ruby3.0-3.0.0~preview1/encindex.h Examining data/ruby3.0-3.0.0~preview1/encoding.c Examining data/ruby3.0-3.0.0~preview1/enum.c Examining data/ruby3.0-3.0.0~preview1/enumerator.c Examining data/ruby3.0-3.0.0~preview1/error.c Examining data/ruby3.0-3.0.0~preview1/eval.c Examining data/ruby3.0-3.0.0~preview1/eval_error.c Examining data/ruby3.0-3.0.0~preview1/eval_intern.h Examining data/ruby3.0-3.0.0~preview1/eval_jump.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/RUBY_ALIGNOF/c.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/RUBY_ALIGNOF/cpp.cpp Examining data/ruby3.0-3.0.0~preview1/ext/-test-/arith_seq/extract/extract.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/array/resize/resize.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bignum/big2str.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bignum/bigzero.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bignum/div.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bignum/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bignum/intpack.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bignum/mul.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bignum/str2big.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bug-14834/bug-14384.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bug-3571/bug.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bug-5832/bug.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/bug_reporter/bug_reporter.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/class/class2name.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/class/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/cxxanyargs/cxxanyargs.cpp Examining data/ruby3.0-3.0.0~preview1/ext/-test-/cxxanyargs/failure.cpp Examining data/ruby3.0-3.0.0~preview1/ext/-test-/cxxanyargs/failurem1.cpp Examining data/ruby3.0-3.0.0~preview1/ext/-test-/debug/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/debug/inspector.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/debug/profile_frames.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/dln/empty/empty.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/enumerator_kw/enumerator_kw.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/exception/dataerror.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/exception/enc_raise.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/exception/ensured.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/exception/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/fatal/rb_fatal.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/file/fs.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/file/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/file/stat.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/float/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/float/nextafter.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/funcall/funcall.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/gvl/call_without_gvl/call_without_gvl.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/hash/delete.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/hash/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/integer/core_ext.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/integer/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/integer/my_integer.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/iseq_load/iseq_load.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/iter/break.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/iter/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/iter/yield.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/load/dot.dot/dot.dot.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/load/protect/protect.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/marshal/compat/usrcompat.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/marshal/internal_ivar/internal_ivar.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/marshal/usr/usrmarshal.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/memory_status/memory_status.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/memory_view/memory_view.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/method/arity.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/method/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/notimplement/bug.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/path_to_class/path_to_class.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/popen_deadlock/infinite_loop_dlsym.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/postponed_job/postponed_job.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/printf/printf.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/proc/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/proc/receiver.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/proc/super.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/random/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/random/loop.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/rational/rat.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/rb_call_super_kw/rb_call_super_kw.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/recursion/recursion.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/regexp/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/regexp/parse_depth_limit.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/scan_args/scan_args.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/st/foreach/foreach.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/st/numhash/numhash.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/st/update/update.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/capacity.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/coderange.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/cstr.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/ellipsize.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/enc_associate.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/enc_str_buf_cat.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/fstring.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/modify.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/new.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/nofree.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/normalize.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/qsort.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/rb_str_dup.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/string/set_len.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/struct/duplicate.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/struct/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/struct/len.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/struct/member.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/symbol/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/symbol/type.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/thread_fd_close/thread_fd_close.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/time/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/time/leap_second.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/time/new.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/tracepoint/gc_hook.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/tracepoint/tracepoint.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/typeddata/typeddata.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/vm/at_exit.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/wait_for_single_fd/wait_for_single_fd.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/win32/console/attribute.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/win32/console/init.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/win32/dln/dlntest.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/win32/dln/libdlntest.c Examining data/ruby3.0-3.0.0~preview1/ext/-test-/win32/fd_setsize/fd_setsize.c Examining data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c Examining data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.h Examining data/ruby3.0-3.0.0~preview1/ext/cgi/escape/escape.c Examining data/ruby3.0-3.0.0~preview1/ext/continuation/continuation.c Examining data/ruby3.0-3.0.0~preview1/ext/coverage/coverage.c Examining data/ruby3.0-3.0.0~preview1/ext/date/date_core.c Examining data/ruby3.0-3.0.0~preview1/ext/date/date_parse.c Examining data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c Examining data/ruby3.0-3.0.0~preview1/ext/date/date_strptime.c Examining data/ruby3.0-3.0.0~preview1/ext/date/date_tmx.h Examining data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h Examining data/ruby3.0-3.0.0~preview1/ext/dbm/dbm.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/bubblebabble/bubblebabble.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/defs.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/digest.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/digest.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5cc.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5init.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5ossl.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/rmd160/rmd160.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/rmd160/rmd160.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/rmd160/rmd160init.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/rmd160/rmd160ossl.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1cc.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1init.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1ossl.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2cc.h Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2init.c Examining data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2ossl.h Examining data/ruby3.0-3.0.0~preview1/ext/etc/constdefs.h Examining data/ruby3.0-3.0.0~preview1/ext/etc/etc.c Examining data/ruby3.0-3.0.0~preview1/ext/fcntl/fcntl.c Examining data/ruby3.0-3.0.0~preview1/ext/fiber/fiber.c Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/closure.c Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/closure.h Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/conversions.c Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/conversions.h Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/fiddle.c Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/fiddle.h Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/function.c Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/function.h Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/pointer.c Examining data/ruby3.0-3.0.0~preview1/ext/fiddle/win32/fficonfig.h Examining data/ruby3.0-3.0.0~preview1/ext/gdbm/gdbm.c Examining data/ruby3.0-3.0.0~preview1/ext/io/console/console.c Examining data/ruby3.0-3.0.0~preview1/ext/io/nonblock/nonblock.c Examining data/ruby3.0-3.0.0~preview1/ext/io/wait/wait.c Examining data/ruby3.0-3.0.0~preview1/ext/json/fbuffer/fbuffer.h Examining data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.c Examining data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.h Examining data/ruby3.0-3.0.0~preview1/ext/json/parser/parser.c Examining data/ruby3.0-3.0.0~preview1/ext/json/parser/parser.h Examining data/ruby3.0-3.0.0~preview1/ext/monitor/monitor.c Examining data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/config.h Examining data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c Examining data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.h Examining data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/utf8tbl.c Examining data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/utf8tbl.h Examining data/ruby3.0-3.0.0~preview1/ext/nkf/nkf.c Examining data/ruby3.0-3.0.0~preview1/ext/objspace/object_tracing.c Examining data/ruby3.0-3.0.0~preview1/ext/objspace/objspace.c Examining data/ruby3.0-3.0.0~preview1/ext/objspace/objspace.h Examining data/ruby3.0-3.0.0~preview1/ext/objspace/objspace_dump.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/openssl_missing.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/openssl_missing.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_bio.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_bio.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_bn.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_bn.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_cipher.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_cipher.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_config.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_config.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_digest.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_digest.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_engine.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_engine.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_hmac.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_hmac.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_kdf.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_kdf.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ns_spki.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ns_spki.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ocsp.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ocsp.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs12.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs12.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs7.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs7.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkey.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkey.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkey_dh.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkey_dsa.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkey_ec.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkey_rsa.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_rand.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_rand.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ssl.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ssl.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ssl_session.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ts.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ts.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509.h Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509attr.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509cert.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509crl.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509ext.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509name.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509req.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509revoked.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509store.c Examining data/ruby3.0-3.0.0~preview1/ext/openssl/ruby_missing.h Examining data/ruby3.0-3.0.0~preview1/ext/pathname/pathname.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych.h Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_emitter.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_emitter.h Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_parser.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_parser.h Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_to_ruby.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_to_ruby.h Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_yaml_tree.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/psych_yaml_tree.h Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/config.h Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/dumper.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/loader.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/parser.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/reader.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/scanner.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/writer.c Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/yaml.h Examining data/ruby3.0-3.0.0~preview1/ext/psych/yaml/yaml_private.h Examining data/ruby3.0-3.0.0~preview1/ext/pty/pty.c Examining data/ruby3.0-3.0.0~preview1/ext/racc/cparse/cparse.c Examining data/ruby3.0-3.0.0~preview1/ext/rbconfig/sizeof/limits.c Examining data/ruby3.0-3.0.0~preview1/ext/rbconfig/sizeof/sizes.c Examining data/ruby3.0-3.0.0~preview1/ext/readline/readline.c Examining data/ruby3.0-3.0.0~preview1/ext/ripper/eventids1.c Examining data/ruby3.0-3.0.0~preview1/ext/ripper/eventids2.c Examining data/ruby3.0-3.0.0~preview1/ext/ripper/eventids2table.c Examining data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/addrinfo.h Examining data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/basicsocket.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/constants.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/constdefs.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/constdefs.h Examining data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/ifaddr.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/init.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/ipsocket.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/rubysocket.h Examining data/ruby3.0-3.0.0~preview1/ext/socket/socket.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/sockport.h Examining data/ruby3.0-3.0.0~preview1/ext/socket/sockssocket.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/tcpserver.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/tcpsocket.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/udpsocket.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/unixserver.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/option.c Examining data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c Examining data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c Examining data/ruby3.0-3.0.0~preview1/ext/strscan/strscan.c Examining data/ruby3.0-3.0.0~preview1/ext/syslog/syslog.c Examining data/ruby3.0-3.0.0~preview1/ext/win32/resolv/resolv.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_error.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_error.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_event.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_event.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_method.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_method.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_param.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_param.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_record.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_record.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_type.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_type.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_typelib.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_typelib.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_variable.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_variable.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_variant.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_variant.h Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_variant_m.c Examining data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_variant_m.h Examining data/ruby3.0-3.0.0~preview1/ext/zlib/zlib.c Examining data/ruby3.0-3.0.0~preview1/file.c Examining data/ruby3.0-3.0.0~preview1/gc.c Examining data/ruby3.0-3.0.0~preview1/gc.h Examining data/ruby3.0-3.0.0~preview1/golf_prelude.c Examining data/ruby3.0-3.0.0~preview1/goruby.c Examining data/ruby3.0-3.0.0~preview1/hash.c Examining data/ruby3.0-3.0.0~preview1/hrtime.h Examining data/ruby3.0-3.0.0~preview1/id.c Examining data/ruby3.0-3.0.0~preview1/id.h Examining data/ruby3.0-3.0.0~preview1/id_table.c Examining data/ruby3.0-3.0.0~preview1/id_table.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/assert.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/assume.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/attributes.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/bool.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/gcc_version_since.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/inttypes.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/limits.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/long_long.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/r_cast.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/rmodule.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/stdalign.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/2/stdarg.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward/cxxanyargs.hpp Examining data/ruby3.0-3.0.0~preview1/include/ruby/backward.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/debug.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/defines.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/encoding.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/intern.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/anyargs.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/char.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/double.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/fixnum.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/gid_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/int.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/intptr_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/long.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/long_long.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/mode_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/off_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/pid_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/short.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/size_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/st_data_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic/uid_t.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/arithmetic.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/assume.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/alloc_size.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/artificial.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/cold.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/const.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/constexpr.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/deprecated.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/diagnose_if.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/enum_extensibility.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/error.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/flag_enum.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/forceinline.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/format.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/maybe_unused.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/noalias.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/nodiscard.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/noexcept.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/noinline.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/nonnull.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/noreturn.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/pure.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/restrict.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/returns_nonnull.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/warning.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/attr/weakref.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/cast.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_is/apple.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_is/clang.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_is/gcc.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_is/intel.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_is/msvc.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_is/sunpro.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_is.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/compiler_since.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/config.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/constant_p.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rarray.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rbasic.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rbignum.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rclass.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rdata.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rfile.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rhash.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rmatch.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/robject.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rregexp.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rstring.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rstruct.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rtypeddata.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/core.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/ctype.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/dllexport.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/dosish.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/error.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/eval.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/event.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/fl_type.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/gc.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/glob.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/globals.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/attribute.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/builtin.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/c_attribute.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/cpp_attribute.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/declspec_attribute.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/extension.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/feature.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/has/warning.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/array.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/bignum.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/class.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/compar.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/complex.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/cont.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/dir.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/enum.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/enumerator.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/error.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/eval.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/file.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/gc.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/hash.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/io.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/load.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/marshal.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/numeric.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/object.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/parse.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/proc.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/process.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/random.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/range.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/rational.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/re.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/ruby.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/select/largesize.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/select/posix.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/select/win32.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/select.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/signal.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/sprintf.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/string.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/struct.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/thread.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/time.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/variable.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/vm.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/interpreter.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/iterator.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/memory.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/method.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/module.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/newobj.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/rgengc.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/scan_args.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/special_consts.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/static_assert.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/stdalign.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/stdbool.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/symbol.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/token_paste.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/value.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/value_type.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/variable.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/warning_push.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/internal/xmalloc.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/io.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/memory_view.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/missing.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/onigmo.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/oniguruma.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/random.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/re.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/regex.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/ruby.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/st.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/subst.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/thread.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/thread_native.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/util.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/version.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/vm.h Examining data/ruby3.0-3.0.0~preview1/include/ruby/win32.h Examining data/ruby3.0-3.0.0~preview1/include/ruby.h Examining data/ruby3.0-3.0.0~preview1/inits.c Examining data/ruby3.0-3.0.0~preview1/internal/array.h Examining data/ruby3.0-3.0.0~preview1/internal/bignum.h Examining data/ruby3.0-3.0.0~preview1/internal/bits.h Examining data/ruby3.0-3.0.0~preview1/internal/class.h Examining data/ruby3.0-3.0.0~preview1/internal/compar.h Examining data/ruby3.0-3.0.0~preview1/internal/compile.h Examining data/ruby3.0-3.0.0~preview1/internal/compilers.h Examining data/ruby3.0-3.0.0~preview1/internal/complex.h Examining data/ruby3.0-3.0.0~preview1/internal/cont.h Examining data/ruby3.0-3.0.0~preview1/internal/dir.h Examining data/ruby3.0-3.0.0~preview1/internal/enc.h Examining data/ruby3.0-3.0.0~preview1/internal/encoding.h Examining data/ruby3.0-3.0.0~preview1/internal/enum.h Examining data/ruby3.0-3.0.0~preview1/internal/enumerator.h Examining data/ruby3.0-3.0.0~preview1/internal/error.h Examining data/ruby3.0-3.0.0~preview1/internal/eval.h Examining data/ruby3.0-3.0.0~preview1/internal/file.h Examining data/ruby3.0-3.0.0~preview1/internal/fixnum.h Examining data/ruby3.0-3.0.0~preview1/internal/gc.h Examining data/ruby3.0-3.0.0~preview1/internal/hash.h Examining data/ruby3.0-3.0.0~preview1/internal/imemo.h Examining data/ruby3.0-3.0.0~preview1/internal/inits.h Examining data/ruby3.0-3.0.0~preview1/internal/io.h Examining data/ruby3.0-3.0.0~preview1/internal/load.h Examining data/ruby3.0-3.0.0~preview1/internal/loadpath.h Examining data/ruby3.0-3.0.0~preview1/internal/math.h Examining data/ruby3.0-3.0.0~preview1/internal/missing.h Examining data/ruby3.0-3.0.0~preview1/internal/mjit.h Examining data/ruby3.0-3.0.0~preview1/internal/numeric.h Examining data/ruby3.0-3.0.0~preview1/internal/object.h Examining data/ruby3.0-3.0.0~preview1/internal/parse.h Examining data/ruby3.0-3.0.0~preview1/internal/proc.h Examining data/ruby3.0-3.0.0~preview1/internal/process.h Examining data/ruby3.0-3.0.0~preview1/internal/random.h Examining data/ruby3.0-3.0.0~preview1/internal/range.h Examining data/ruby3.0-3.0.0~preview1/internal/rational.h Examining data/ruby3.0-3.0.0~preview1/internal/re.h Examining data/ruby3.0-3.0.0~preview1/internal/sanitizers.h Examining data/ruby3.0-3.0.0~preview1/internal/scheduler.h Examining data/ruby3.0-3.0.0~preview1/internal/serial.h Examining data/ruby3.0-3.0.0~preview1/internal/signal.h Examining data/ruby3.0-3.0.0~preview1/internal/static_assert.h Examining data/ruby3.0-3.0.0~preview1/internal/string.h Examining data/ruby3.0-3.0.0~preview1/internal/struct.h Examining data/ruby3.0-3.0.0~preview1/internal/symbol.h Examining data/ruby3.0-3.0.0~preview1/internal/thread.h Examining data/ruby3.0-3.0.0~preview1/internal/time.h Examining data/ruby3.0-3.0.0~preview1/internal/transcode.h Examining data/ruby3.0-3.0.0~preview1/internal/util.h Examining data/ruby3.0-3.0.0~preview1/internal/variable.h Examining data/ruby3.0-3.0.0~preview1/internal/vm.h Examining data/ruby3.0-3.0.0~preview1/internal/warnings.h Examining data/ruby3.0-3.0.0~preview1/internal.h Examining data/ruby3.0-3.0.0~preview1/iseq.c Examining data/ruby3.0-3.0.0~preview1/iseq.h Examining data/ruby3.0-3.0.0~preview1/lex.c Examining data/ruby3.0-3.0.0~preview1/load.c Examining data/ruby3.0-3.0.0~preview1/loadpath.c Examining data/ruby3.0-3.0.0~preview1/localeinit.c Examining data/ruby3.0-3.0.0~preview1/main.c Examining data/ruby3.0-3.0.0~preview1/marshal.c Examining data/ruby3.0-3.0.0~preview1/math.c Examining data/ruby3.0-3.0.0~preview1/memory_view.c Examining data/ruby3.0-3.0.0~preview1/method.h Examining data/ruby3.0-3.0.0~preview1/mini_builtin.c Examining data/ruby3.0-3.0.0~preview1/miniinit.c Examining data/ruby3.0-3.0.0~preview1/miniprelude.c Examining data/ruby3.0-3.0.0~preview1/missing/acosh.c Examining data/ruby3.0-3.0.0~preview1/missing/alloca.c Examining data/ruby3.0-3.0.0~preview1/missing/cbrt.c Examining data/ruby3.0-3.0.0~preview1/missing/close.c Examining data/ruby3.0-3.0.0~preview1/missing/crt_externs.h Examining data/ruby3.0-3.0.0~preview1/missing/crypt.c Examining data/ruby3.0-3.0.0~preview1/missing/crypt.h Examining data/ruby3.0-3.0.0~preview1/missing/des_tables.c Examining data/ruby3.0-3.0.0~preview1/missing/dtoa.c Examining data/ruby3.0-3.0.0~preview1/missing/dup2.c Examining data/ruby3.0-3.0.0~preview1/missing/erf.c Examining data/ruby3.0-3.0.0~preview1/missing/explicit_bzero.c Examining data/ruby3.0-3.0.0~preview1/missing/ffs.c Examining data/ruby3.0-3.0.0~preview1/missing/file.h Examining data/ruby3.0-3.0.0~preview1/missing/fileblocks.c Examining data/ruby3.0-3.0.0~preview1/missing/finite.c Examining data/ruby3.0-3.0.0~preview1/missing/flock.c Examining data/ruby3.0-3.0.0~preview1/missing/hypot.c Examining data/ruby3.0-3.0.0~preview1/missing/isinf.c Examining data/ruby3.0-3.0.0~preview1/missing/isnan.c Examining data/ruby3.0-3.0.0~preview1/missing/langinfo.c Examining data/ruby3.0-3.0.0~preview1/missing/lgamma_r.c Examining data/ruby3.0-3.0.0~preview1/missing/memcmp.c Examining data/ruby3.0-3.0.0~preview1/missing/memmove.c Examining data/ruby3.0-3.0.0~preview1/missing/mt19937.c Examining data/ruby3.0-3.0.0~preview1/missing/nan.c Examining data/ruby3.0-3.0.0~preview1/missing/nextafter.c Examining data/ruby3.0-3.0.0~preview1/missing/procstat_vm.c Examining data/ruby3.0-3.0.0~preview1/missing/setproctitle.c Examining data/ruby3.0-3.0.0~preview1/missing/signbit.c Examining data/ruby3.0-3.0.0~preview1/missing/strchr.c Examining data/ruby3.0-3.0.0~preview1/missing/strerror.c Examining data/ruby3.0-3.0.0~preview1/missing/strlcat.c Examining data/ruby3.0-3.0.0~preview1/missing/strlcpy.c Examining data/ruby3.0-3.0.0~preview1/missing/strstr.c Examining data/ruby3.0-3.0.0~preview1/missing/tgamma.c Examining data/ruby3.0-3.0.0~preview1/mjit.c Examining data/ruby3.0-3.0.0~preview1/mjit.h Examining data/ruby3.0-3.0.0~preview1/mjit_compile.c Examining data/ruby3.0-3.0.0~preview1/mjit_worker.c Examining data/ruby3.0-3.0.0~preview1/node.c Examining data/ruby3.0-3.0.0~preview1/node.h Examining data/ruby3.0-3.0.0~preview1/numeric.c Examining data/ruby3.0-3.0.0~preview1/object.c Examining data/ruby3.0-3.0.0~preview1/pack.c Examining data/ruby3.0-3.0.0~preview1/parse.c Examining data/ruby3.0-3.0.0~preview1/parse.h Examining data/ruby3.0-3.0.0~preview1/probes_helper.h Examining data/ruby3.0-3.0.0~preview1/proc.c Examining data/ruby3.0-3.0.0~preview1/process.c Examining data/ruby3.0-3.0.0~preview1/ractor.c Examining data/ruby3.0-3.0.0~preview1/ractor.h Examining data/ruby3.0-3.0.0~preview1/ractor_pub.h Examining data/ruby3.0-3.0.0~preview1/random.c Examining data/ruby3.0-3.0.0~preview1/range.c Examining data/ruby3.0-3.0.0~preview1/rational.c Examining data/ruby3.0-3.0.0~preview1/re.c Examining data/ruby3.0-3.0.0~preview1/regcomp.c Examining data/ruby3.0-3.0.0~preview1/regenc.c Examining data/ruby3.0-3.0.0~preview1/regenc.h Examining data/ruby3.0-3.0.0~preview1/regerror.c Examining data/ruby3.0-3.0.0~preview1/regexec.c Examining data/ruby3.0-3.0.0~preview1/regint.h Examining data/ruby3.0-3.0.0~preview1/regparse.c Examining data/ruby3.0-3.0.0~preview1/regparse.h Examining data/ruby3.0-3.0.0~preview1/regsyntax.c Examining data/ruby3.0-3.0.0~preview1/revision.h Examining data/ruby3.0-3.0.0~preview1/ruby-runner.c Examining data/ruby3.0-3.0.0~preview1/ruby.c Examining data/ruby3.0-3.0.0~preview1/ruby_assert.h Examining data/ruby3.0-3.0.0~preview1/ruby_atomic.h Examining data/ruby3.0-3.0.0~preview1/rubystub.c Examining data/ruby3.0-3.0.0~preview1/scheduler.c Examining data/ruby3.0-3.0.0~preview1/signal.c Examining data/ruby3.0-3.0.0~preview1/siphash.c Examining data/ruby3.0-3.0.0~preview1/siphash.h Examining data/ruby3.0-3.0.0~preview1/sparc.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/array_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/basic_object_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/bignum_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/boolean_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/class_id_under_autoload_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/class_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/class_under_autoload_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/complex_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/constants_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/data_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/encoding_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/enumerator_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/exception_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/file_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/fixnum_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/float_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/gc_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/globals_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/hash_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/integer_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/io_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/kernel_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/language_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/marshal_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/module_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/module_under_autoload_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/mutex_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/numeric_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/object_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/proc_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/range_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/rational_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/rbasic_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/regexp_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/rubyspec.h Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/st_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/string_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/struct_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/symbol_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/thread_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/time_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/tracepoint_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/typed_data_spec.c Examining data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/util_spec.c Examining data/ruby3.0-3.0.0~preview1/sprintf.c Examining data/ruby3.0-3.0.0~preview1/st.c Examining data/ruby3.0-3.0.0~preview1/strftime.c Examining data/ruby3.0-3.0.0~preview1/string.c Examining data/ruby3.0-3.0.0~preview1/struct.c Examining data/ruby3.0-3.0.0~preview1/symbol.c Examining data/ruby3.0-3.0.0~preview1/symbol.h Examining data/ruby3.0-3.0.0~preview1/thread.c Examining data/ruby3.0-3.0.0~preview1/thread_pthread.c Examining data/ruby3.0-3.0.0~preview1/thread_pthread.h Examining data/ruby3.0-3.0.0~preview1/thread_sync.c Examining data/ruby3.0-3.0.0~preview1/thread_win32.c Examining data/ruby3.0-3.0.0~preview1/thread_win32.h Examining data/ruby3.0-3.0.0~preview1/time.c Examining data/ruby3.0-3.0.0~preview1/timev.h Examining data/ruby3.0-3.0.0~preview1/transcode.c Examining data/ruby3.0-3.0.0~preview1/transcode_data.h Examining data/ruby3.0-3.0.0~preview1/transient_heap.c Examining data/ruby3.0-3.0.0~preview1/transient_heap.h Examining data/ruby3.0-3.0.0~preview1/util.c Examining data/ruby3.0-3.0.0~preview1/variable.c Examining data/ruby3.0-3.0.0~preview1/variable.h Examining data/ruby3.0-3.0.0~preview1/version.c Examining data/ruby3.0-3.0.0~preview1/version.h Examining data/ruby3.0-3.0.0~preview1/vm.c Examining data/ruby3.0-3.0.0~preview1/vm_args.c Examining data/ruby3.0-3.0.0~preview1/vm_backtrace.c Examining data/ruby3.0-3.0.0~preview1/vm_callinfo.h Examining data/ruby3.0-3.0.0~preview1/vm_core.h Examining data/ruby3.0-3.0.0~preview1/vm_debug.h Examining data/ruby3.0-3.0.0~preview1/vm_dump.c Examining data/ruby3.0-3.0.0~preview1/vm_eval.c Examining data/ruby3.0-3.0.0~preview1/vm_exec.c Examining data/ruby3.0-3.0.0~preview1/vm_exec.h Examining data/ruby3.0-3.0.0~preview1/vm_insnhelper.c Examining data/ruby3.0-3.0.0~preview1/vm_insnhelper.h Examining data/ruby3.0-3.0.0~preview1/vm_method.c Examining data/ruby3.0-3.0.0~preview1/vm_opts.h Examining data/ruby3.0-3.0.0~preview1/vm_sync.c Examining data/ruby3.0-3.0.0~preview1/vm_sync.h Examining data/ruby3.0-3.0.0~preview1/vm_trace.c Examining data/ruby3.0-3.0.0~preview1/vsnprintf.c Examining data/ruby3.0-3.0.0~preview1/win32/dir.h Examining data/ruby3.0-3.0.0~preview1/win32/file.c Examining data/ruby3.0-3.0.0~preview1/win32/file.h Examining data/ruby3.0-3.0.0~preview1/win32/win32.c Examining data/ruby3.0-3.0.0~preview1/win32/winmain.c Examining data/ruby3.0-3.0.0~preview1/io.c FINAL RESULTS: data/ruby3.0-3.0.0~preview1/addr2line.c:2052:19: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. ssize_t len = readlink(PROC_SELF_EXE, binary_filename, PATH_MAX); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7144:11: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(outfname, sb.st_mode)) { data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:233:16: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. return chmod(slavedevice, 0600); data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:426:7: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. if (chown(SlaveName, getuid(), getgid()) != 0) goto error; data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:427:7: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(SlaveName, nomesg ? 0600 : 0622) != 0) goto error; data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:306:10: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. VALUE (*gets)(struct parser_params*,VALUE); data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:13151:27: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. VALUE line = (*p->lex.gets)(p, p->lex.input); data/ruby3.0-3.0.0~preview1/file.c:106:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. # undef chmod data/ruby3.0-3.0.0~preview1/file.c:107:10: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. # define chmod(p, m) rb_w32_uchmod((p), (m)) data/ruby3.0-3.0.0~preview1/file.c:108:9: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. # undef chown data/ruby3.0-3.0.0~preview1/file.c:109:10: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. # define chown(p, o, g) rb_w32_uchown((p), (o), (g)) data/ruby3.0-3.0.0~preview1/file.c:2549:12: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. return chmod(path, *(mode_t *)mode); data/ruby3.0-3.0.0~preview1/file.c:2613:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(RSTRING_PTR(path), mode) == -1) data/ruby3.0-3.0.0~preview1/file.c:2678:12: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. return chown(path, args->owner, args->group); data/ruby3.0-3.0.0~preview1/file.c:2739:9: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. if (chown(RSTRING_PTR(path), o, g) == -1) data/ruby3.0-3.0.0~preview1/file.c:3096:27: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. return (void *)(VALUE)readlink(ra->path, ra->buf, ra->size); data/ruby3.0-3.0.0~preview1/file.c:3217:10: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (chmod(ra.dst, 0666) == 0 && data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:309:12: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. extern int chown(const char *, int, int); data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:313:16: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. extern ssize_t readlink(const char *, char *, size_t); data/ruby3.0-3.0.0~preview1/io.c:8961:7: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. chmod(fn, st.st_mode); data/ruby3.0-3.0.0~preview1/io.c:8968:10: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. err = chown(fn, st.st_uid, st.st_gid); data/ruby3.0-3.0.0~preview1/parse.c:306:10: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. VALUE (*gets)(struct parser_params*,VALUE); data/ruby3.0-3.0.0~preview1/parse.c:13106:27: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. VALUE line = (*p->lex.gets)(p, p->lex.input); data/ruby3.0-3.0.0~preview1/rubystub.c:27:16: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. ssize_t len = readlink("/proc/self/exe", selfexe, sizeof(selfexe)); data/ruby3.0-3.0.0~preview1/win32/win32.c:4767:1: [5] (race) chown: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchown( ) instead. chown(const char *path, int owner, int group) data/ruby3.0-3.0.0~preview1/win32/win32.c:5103:1: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. readlink(const char *path, char *buf, size_t bufsize) data/ruby3.0-3.0.0~preview1/compile.c:193:8: [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. #undef printf data/ruby3.0-3.0.0~preview1/compile.c:194:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf ruby_debug_printf data/ruby3.0-3.0.0~preview1/compile.c:198:49: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define debugs if(0)printf data/ruby3.0-3.0.0~preview1/compile.c:9041:12: [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. if (curr) printf(curr == link ? "*" : " "); data/ruby3.0-3.0.0~preview1/compile.c:9054: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(LABEL_FORMAT" [sp: %d]%s\n", lobj->label_no, lobj->sp, data/ruby3.0-3.0.0~preview1/debug.c:112:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, format, ap); data/ruby3.0-3.0.0~preview1/debug.c:397:13: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. r = vsnprintf(buff + len, MAX_DEBUG_LOG_MESSAGE_LEN - len, fmt, args); data/ruby3.0-3.0.0~preview1/dln.c:95:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, format, ap); data/ruby3.0-3.0.0~preview1/dln_find.c:17:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define dln_warning fprintf data/ruby3.0-3.0.0~preview1/enc/gb18030.c:36:28: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define DEBUG_GB18030(arg) printf arg data/ruby3.0-3.0.0~preview1/error.c:619:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, sizeof(buf), fmt, args); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:3173:2: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(buf, sizeof(buf), "1E%"PRIdVALUE, -expo); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5374:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(fp, SZ_NaN); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5378:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(fp, SZ_INF); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5382:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(fp, SZ_NINF); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5421:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. nc += fprintf(fp, "E%"PRIdSIZE, VpExponent10(a)); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5510:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(psz, SZ_NaN); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5514:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(psz, SZ_INF); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5518:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(psz, SZ_NINF); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5555:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(psz,SZ_NaN); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5566:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(psz, SZ_INF); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5570:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(psz, SZ_NINF); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5629:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(psz, "e%"PRIdSIZE, ex); data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c:110:10: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. l = snprintf(s, endp - s, \ data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:53:7: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. char *getlogin(); data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:86:13: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. login = getlogin(); data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:335:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(name_a, name); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:894:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define fprintf dllprintf data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:906:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(HELP_OUTPUT, data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:941:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(HELP_OUTPUT, data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:953:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(HELP_OUTPUT, data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:1046:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(backup_filename, filename); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:1047:2: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(backup_filename, suffix); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:5523:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. perror(fprintf("iconv doesn't support %s to %s conversion.", fromcode, tocode)); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:6967:3: [4] (shell) execvp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execvp(argv[1], &argv[1]); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7060:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(outfname, origfname); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7073:4: [4] (tmpfile) mktemp: Temporary file race condition (CWE-377). mktemp(outfname); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.h:64:9: [4] (tmpfile) mktemp: Temporary file race condition (CWE-377). #define mktemp _mktemp data/ruby3.0-3.0.0~preview1/ext/objspace/objspace_dump.c:137:30: [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. unsigned long required = snprintf(dc->buffer + dc->buffer_len, width, "%"PRIuSIZE, number); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl.c:368: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, args); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl.h:143:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, __VA_ARGS__); \ data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs7.c:295:9: [4] (crypto) EVP_rc2_40_cbc: These keysizes are too small given today's computers (CWE-327). Use a different patent-free encryption algorithm with a larger keysize, such as 3DES or AES. ciph = EVP_rc2_40_cbc(); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs7.c:299:9: [4] (crypto) EVP_rc2_40_cbc: These keysizes are too small given today's computers (CWE-327). Use a different patent-free encryption algorithm with a larger keysize, such as 3DES or AES. ciph = EVP_rc2_40_cbc(); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/dumper.c:254:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf((char *)anchor, ANCHOR_TEMPLATE, anchor_id); data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:187:60: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. struct passwd *pwent = getpwnam(username ? username : getlogin()); data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:418:2: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(MasterName, sizeof MasterName, MasterDevice, devno); data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:422:6: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(SlaveName, DEVICELEN, SlaveDevice, devno); data/ruby3.0-3.0.0~preview1/ext/racc/cparse/cparse.c:219:47: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define D_printf(fmt,arg) if (v->sys_debug) printf(fmt,arg) data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1037:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(result[i + 1], RSTRING_PTR(temp)); data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:5419:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define YYFPRINTF fprintf data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:175:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy((ai)->ai_canonname, (str));\ data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:63: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/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:63: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/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:163:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(serv, numserv); data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:170:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(serv, sp->s_name); data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:207:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(host, numaddr); data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:227:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(host, hp->h_name); data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:239:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(host, numaddr); data/ruby3.0-3.0.0~preview1/file.c:102:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. # undef access data/ruby3.0-3.0.0~preview1/file.c:103:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. # define access(p, m) rb_w32_uaccess((p), (m)) data/ruby3.0-3.0.0~preview1/file.c:1499:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return access(path, mode); data/ruby3.0-3.0.0~preview1/file.c:1526:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return access(path, mode); data/ruby3.0-3.0.0~preview1/file.c:1563:27: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return (void *)(VALUE)access(aa->path, aa->mode); data/ruby3.0-3.0.0~preview1/file.c:3565:18: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. extern char *getlogin(void); data/ruby3.0-3.0.0~preview1/file.c:3583:30: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. if (strcasecmp(username, getlogin()) == 0) data/ruby3.0-3.0.0~preview1/file.c:6191:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. && !access(p0, W_OK)) { data/ruby3.0-3.0.0~preview1/gc.c:6842: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, 1024, fmt, args); data/ruby3.0-3.0.0~preview1/gc.c:9863:9: [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/ruby3.0-3.0.0~preview1/gc.c:11805:32: [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 APPENDF(f) if ((pos += snprintf f) >= buff_size) goto end data/ruby3.0-3.0.0~preview1/gc.h:61:52: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define RUBY_GC_INFO rb_gc_debug_indent(); printf data/ruby3.0-3.0.0~preview1/gc.h:68:27: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define RUBY_GC_INFO if(0)printf data/ruby3.0-3.0.0~preview1/include/ruby/missing.h:84:19: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. RUBY_EXTERN char *crypt(const char *, const char *); data/ruby3.0-3.0.0~preview1/include/ruby/subst.h:12:8: [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. #undef snprintf data/ruby3.0-3.0.0~preview1/include/ruby/subst.h:13:8: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #undef vsnprintf data/ruby3.0-3.0.0~preview1/include/ruby/subst.h:14: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 ruby_snprintf data/ruby3.0-3.0.0~preview1/include/ruby/subst.h:15:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define vsnprintf ruby_vsnprintf data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:162:8: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #undef execv data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:163:9: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #define execv(path,argv) rb_w32_aspawn(P_OVERLAY,path,argv) data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:212:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. #define access(path,mode) rb_w32_access(path,mode) data/ruby3.0-3.0.0~preview1/io.c:6885:10: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. fp = popen(cmd, modestr); data/ruby3.0-3.0.0~preview1/iseq.c:2254:7: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(opti, sizeof(opti), "Opt=%"PRIdVALUE, data/ruby3.0-3.0.0~preview1/missing/crypt.c:385:1: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. crypt(const char *key, const char *setting) data/ruby3.0-3.0.0~preview1/missing/crypt.c:387:9: [4] (crypto) crypt_r: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. return crypt_r(key, setting, &default_crypt_data); data/ruby3.0-3.0.0~preview1/missing/crypt.c:396:1: [4] (crypto) crypt_r: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. crypt_r(const char *key, const char *setting, struct crypt_data *data) data/ruby3.0-3.0.0~preview1/missing/crypt.h:239:7: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. char *crypt(const char *key, const char *setting); data/ruby3.0-3.0.0~preview1/missing/crypt.h:243:7: [4] (crypto) crypt_r: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. char *crypt_r(const char *key, const char *setting, struct crypt_data *data); data/ruby3.0-3.0.0~preview1/missing/nan.c:17:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "NAN(%s)", spec); data/ruby3.0-3.0.0~preview1/missing/setproctitle.c:157:2: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(ptitle, sizeof(ptitle), fmt, ap); data/ruby3.0-3.0.0~preview1/mjit.c:698:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(dir, W_OK)) return FALSE; data/ruby3.0-3.0.0~preview1/mjit_worker.c:336:9: [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, full_format, args); data/ruby3.0-3.0.0~preview1/mjit_worker.c:349:9: [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, format, args); data/ruby3.0-3.0.0~preview1/mjit_worker.c:623:15: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. pid = execv(abspath, argv); // Pid will be negative on an error data/ruby3.0-3.0.0~preview1/mjit_worker.c:719:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(funcname, "_mjit%d_%s_%s", unit->id, path, method); data/ruby3.0-3.0.0~preview1/mjit_worker.c:860:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(o_file, c_file); data/ruby3.0-3.0.0~preview1/mjit_worker.c:1152:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(iseq_label, RSTRING_PTR(unit->iseq->body->location.label)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:1153:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(iseq_path, RSTRING_PTR(rb_iseq_path(unit->iseq))); data/ruby3.0-3.0.0~preview1/parse.c:5422:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define YYFPRINTF fprintf data/ruby3.0-3.0.0~preview1/process.c:337:9: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #define execv(path, argv) (rb_async_bug_errno("unreachable: async-signal-unsafe execv() is called", 0)) data/ruby3.0-3.0.0~preview1/process.c:338:9: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #define execl(path, arg0, arg1, arg2, term) do { extern char **environ; execle((path), (arg0), (arg1), (arg2), (term), (environ)); } while (0) data/ruby3.0-3.0.0~preview1/process.c:338:73: [4] (shell) execle: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. #define execl(path, arg0, arg1, arg2, term) do { extern char **environ; execle((path), (arg0), (arg1), (arg2), (term), (environ)); } while (0) data/ruby3.0-3.0.0~preview1/process.c:391:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(tty, fmt, ap); data/ruby3.0-3.0.0~preview1/process.c:1641:9: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv("/bin/sh", argv); /* async-signal-safe (since SUSv4) */ data/ruby3.0-3.0.0~preview1/process.c:1672:9: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(prog, argv); /* async-signal-safe (since SUSv4) */ data/ruby3.0-3.0.0~preview1/process.c:1701:13: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl(shell, "sh", "-c", str, (char *) NULL); data/ruby3.0-3.0.0~preview1/process.c:1703:22: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. status = system(str); data/ruby3.0-3.0.0~preview1/process.c:1709:9: [4] (shell) execle: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execle("/bin/sh", "sh", "-c", str, (char *)NULL, RB_IMEMO_TMPBUF_PTR(envp_str)); /* async-signal-safe */ data/ruby3.0-3.0.0~preview1/process.c:1711:9: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl("/bin/sh", "sh", "-c", str, (char *)NULL); /* async-signal-safe (since SUSv4) */ data/ruby3.0-3.0.0~preview1/process.c:3050:63: [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 ERRMSG1(str, a) do { if (errmsg && 0 < errmsg_buflen) snprintf(errmsg, errmsg_buflen, (str), (a)); } while (0) data/ruby3.0-3.0.0~preview1/process.c:3051:66: [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 ERRMSG2(str, a, b) do { if (errmsg && 0 < errmsg_buflen) snprintf(errmsg, errmsg_buflen, (str), (a), (b)); } while (0) data/ruby3.0-3.0.0~preview1/process.c:4432:14: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. status = system(rb_execarg_commandline(eargp, &prog)); data/ruby3.0-3.0.0~preview1/process.c:5629:13: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. login = getlogin(); data/ruby3.0-3.0.0~preview1/regint.h:214:22: [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 xvsnprintf vsnprintf data/ruby3.0-3.0.0~preview1/regint.h:215:22: [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 xsnprintf snprintf data/ruby3.0-3.0.0~preview1/regint.h:216:35: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). # define xstrcat(dest,src,size) strcat(dest,src) data/ruby3.0-3.0.0~preview1/ruby-runner.c:93:5: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execv(rubypath, argv); data/ruby3.0-3.0.0~preview1/strftime.c:592:8: [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. i = snprintf(s, endp - s, (padding == ' ' ? "%+*ld" : "%+.*ld"), data/ruby3.0-3.0.0~preview1/string.c:6326:2: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. snprintf(q, qend-q, nonascii_suffix, enc->name); data/ruby3.0-3.0.0~preview1/string.c:9660:18: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. extern char *crypt(const char *, const char *); data/ruby3.0-3.0.0~preview1/string.c:9693:11: [4] (crypto) crypt_r: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. res = crypt_r(s, saltp, data); data/ruby3.0-3.0.0~preview1/string.c:9695:11: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. res = crypt(s, saltp); data/ruby3.0-3.0.0~preview1/thread.c:333:27: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define thread_debug if(0)printf data/ruby3.0-3.0.0~preview1/thread.c:358: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(POSITION_FORMAT"%#lx - %s" POSITION_ARGS, GetCurrentThreadId(), buf); \ data/ruby3.0-3.0.0~preview1/thread.c:367: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(POSITION_FORMAT"%"PRI_THREAD_ID" - %s" POSITION_ARGS, \ data/ruby3.0-3.0.0~preview1/thread.c:414:5: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buf, BUFSIZ, fmt, args); data/ruby3.0-3.0.0~preview1/vm_dump.c:144:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, ep_in_heap == ' ' ? "e:%06"PRIdPTRDIFF" " : "E:%06"PRIxPTRDIFF" ", ep % 10000); data/ruby3.0-3.0.0~preview1/vm_dump.c:204:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, "%04ld (%p): %08"PRIxVALUE, (long)(p - st), p, *p); data/ruby3.0-3.0.0~preview1/vm_dump.c:801:11: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = snprintf(buf, sizeof(buf), " %3.3s: 0x%016" PRIxSIZE, reg_name, reg); data/ruby3.0-3.0.0~preview1/vm_dump.c:803:11: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = snprintf(buf, sizeof(buf), " %3.3s: 0x%08" PRIxSIZE, reg_name, reg); data/ruby3.0-3.0.0~preview1/vm_dump.c:928:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. int r = system(buf); data/ruby3.0-3.0.0~preview1/vm_exec.h:20:16: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define debugs printf data/ruby3.0-3.0.0~preview1/vm_exec.h:40:25: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define throwdebug if(0)printf data/ruby3.0-3.0.0~preview1/win32/win32.c:885:1: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. getlogin(void) data/ruby3.0-3.0.0~preview1/win32/win32.c:1370:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmp + shell_len, " -c \"%s\"", cmd); data/ruby3.0-3.0.0~preview1/win32/win32.c:1378:6: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(tmp, nt ? "%s /c \"%s\"" : "%s /c %s", shell, cmd); data/ruby3.0-3.0.0~preview1/win32/win32.c:1967:39: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. open_special(const WCHAR *path, DWORD access, DWORD flags) data/ruby3.0-3.0.0~preview1/win32/win32.c:1971:30: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return CreateFileW(path, access, share_mode, NULL, OPEN_EXISTING, data/ruby3.0-3.0.0~preview1/win32/win32.c:5749:6: [4] (buffer) lstrcatW: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). lstrcatW(buf1, L"\\"); data/ruby3.0-3.0.0~preview1/win32/win32.c:5752:2: [4] (buffer) lstrcatW: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). lstrcatW(buf1, L"."); data/ruby3.0-3.0.0~preview1/win32/win32.c:6224:11: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. DWORD access; data/ruby3.0-3.0.0~preview1/win32/win32.c:6310:2: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access |= DELETE; data/ruby3.0-3.0.0~preview1/win32/win32.c:6353:24: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. h = CreateFileW(file, access, FILE_SHARE_READ | FILE_SHARE_WRITE | share_delete, &sec, create, attr, NULL); data/ruby3.0-3.0.0~preview1/compile.c:9725:37: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. caller_location(VALUE *path, VALUE *realpath) data/ruby3.0-3.0.0~preview1/compile.c:9754:17: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. VALUE path, realpath; data/ruby3.0-3.0.0~preview1/compile.c:9759:40: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. acc.line = caller_location(&path, &realpath); data/ruby3.0-3.0.0~preview1/compile.c:9763:33: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_sym2str(name), path, realpath, data/ruby3.0-3.0.0~preview1/compile.c:11000:24: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (!NIL_P(realpath)) { data/ruby3.0-3.0.0~preview1/compile.c:11001:32: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (!RB_TYPE_P(realpath, T_STRING)) { data/ruby3.0-3.0.0~preview1/compile.c:11004:30: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. realpath, TYPE(realpath), path); data/ruby3.0-3.0.0~preview1/compile.c:11004:45: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. realpath, TYPE(realpath), path); data/ruby3.0-3.0.0~preview1/compile.c:11006:39: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. realpath = rb_fstring(realpath); data/ruby3.0-3.0.0~preview1/compile.c:11012:41: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_pathobj_set(iseq, path, realpath); data/ruby3.0-3.0.0~preview1/cont.c:2550:50: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char * fiber_shared_fiber_pool_free_stacks = getenv("RUBY_SHARED_FIBER_POOL_FREE_STACKS"); data/ruby3.0-3.0.0~preview1/debug.c:293:30: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *log_config = getenv("RUBY_DEBUG_LOG"); data/ruby3.0-3.0.0~preview1/debug.c:321:33: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *filter_config = getenv("RUBY_DEBUG_LOG_FILTER"); data/ruby3.0-3.0.0~preview1/debug_counter.c:77:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *env = getenv("RUBY_DEBUG_COUNTER_DISABLE"); data/ruby3.0-3.0.0~preview1/dir.c:68:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/ruby3.0-3.0.0~preview1/dir.c:1057:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *dist = getenv("HOME"); data/ruby3.0-3.0.0~preview1/dir.c:1059:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. dist = getenv("LOGDIR"); data/ruby3.0-3.0.0~preview1/dir.c:1186:9: [3] (misc) chroot: chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22). Make sure the program immediately chdir("/"), closes file descriptors, and drops root privileges, and that all necessary files (and no more!) are in the new root. if (chroot(RSTRING_PTR(path)) == -1) data/ruby3.0-3.0.0~preview1/dln.c:77:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/ruby3.0-3.0.0~preview1/dln.c:942:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. path = getenv("DLN_LIBRARY_PATH"); data/ruby3.0-3.0.0~preview1/dln_find.c:56:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/ruby3.0-3.0.0~preview1/dln_find.c:69:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. path = getenv(PATH_ENV); data/ruby3.0-3.0.0~preview1/dln_find.c:223:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home = getenv("HOME"); data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:51:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:87:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!login) login = getenv("USER"); data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:89:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. login = getenv("USER"); data/ruby3.0-3.0.0~preview1/ext/fiddle/fiddle.h:30:38: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. # define dlopen(name,flag) ((void*)LoadLibrary(name)) data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:173:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *p, *getenv(); data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:181:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((p = getenv("SHELL")) != NULL) { data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:186:29: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *username = getenv("USER"); data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:289:14: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *q = getenv("GAI"); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1843:9: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. h = LoadLibrary("iphlpapi.dll"); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:1884:18: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. gole32 = LoadLibrary("OLE32"); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:2170:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. ghhctrl = LoadLibrary("HHCTRL.OCX"); data/ruby3.0-3.0.0~preview1/file.c:3584:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. dir = pwPtr = getenv("HOME"); data/ruby3.0-3.0.0~preview1/file.c:3602:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *dir = getenv("HOME"); data/ruby3.0-3.0.0~preview1/file.c:4403:25: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if ((resolved_ptr = realpath(RSTRING_PTR(unresolved_path), NULL)) == NULL) { data/ruby3.0-3.0.0~preview1/gc.c:9575:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *ptr = getenv(name); data/ruby3.0-3.0.0~preview1/gc.c:9633:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *ptr = getenv(name); data/ruby3.0-3.0.0~preview1/hash.c:4824:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. #undef getenv data/ruby3.0-3.0.0~preview1/hash.c:4840:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. #define getenv(n) w32_getenv(n) data/ruby3.0-3.0.0~preview1/hash.c:4985:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *val = getenv(nam); data/ruby3.0-3.0.0~preview1/hash.c:5054:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv(nam); data/ruby3.0-3.0.0~preview1/hash.c:5100:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. env = getenv(nam); data/ruby3.0-3.0.0~preview1/hash.c:6105:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv(s)) return Qtrue; data/ruby3.0-3.0.0~preview1/hash.c:6135:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. e = getenv(s); data/ruby3.0-3.0.0~preview1/hash.c:6414:31: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. VALUE val = env_str_new2(getenv(RSTRING_PTR(key))); data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:719:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. #undef getenv data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:720:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. #define getenv(n) rb_w32_getenv(n) data/ruby3.0-3.0.0~preview1/iseq.c:471:39: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_pathobj_new(VALUE path, VALUE realpath) data/ruby3.0-3.0.0~preview1/iseq.c:475:45: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. VM_ASSERT(realpath == Qnil || RB_TYPE_P(realpath, T_STRING)); data/ruby3.0-3.0.0~preview1/iseq.c:477:17: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (path == realpath || data/ruby3.0-3.0.0~preview1/iseq.c:478:10: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. (!NIL_P(realpath) && rb_str_cmp(path, realpath) == 0)) { data/ruby3.0-3.0.0~preview1/iseq.c:478:40: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. (!NIL_P(realpath) && rb_str_cmp(path, realpath) == 0)) { data/ruby3.0-3.0.0~preview1/iseq.c:482:13: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (!NIL_P(realpath)) realpath = rb_fstring(realpath); data/ruby3.0-3.0.0~preview1/iseq.c:482:46: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (!NIL_P(realpath)) realpath = rb_fstring(realpath); data/ruby3.0-3.0.0~preview1/iseq.c:483:54: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. pathobj = rb_ary_new_from_args(2, rb_fstring(path), realpath); data/ruby3.0-3.0.0~preview1/iseq.c:490:62: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_pathobj_set(const rb_iseq_t *iseq, VALUE path, VALUE realpath) data/ruby3.0-3.0.0~preview1/iseq.c:493:30: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_pathobj_new(path, realpath)); data/ruby3.0-3.0.0~preview1/iseq.c:497:68: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. iseq_location_setup(rb_iseq_t *iseq, VALUE name, VALUE path, VALUE realpath, VALUE first_lineno, const rb_code_location_t *code_location, const int node_id) data/ruby3.0-3.0.0~preview1/iseq.c:501:37: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_pathobj_set(iseq, path, realpath); data/ruby3.0-3.0.0~preview1/iseq.c:562:50: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. VALUE name, VALUE path, VALUE realpath, VALUE first_lineno, const rb_code_location_t *code_location, const int node_id, data/ruby3.0-3.0.0~preview1/iseq.c:577:43: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. iseq_location_setup(iseq, name, path, realpath, first_lineno, code_location, node_id); data/ruby3.0-3.0.0~preview1/iseq.c:779:69: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_new(const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE realpath, data/ruby3.0-3.0.0~preview1/iseq.c:782:50: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. return rb_iseq_new_with_opt(ast, name, path, realpath, INT2FIX(0), parent, type, data/ruby3.0-3.0.0~preview1/iseq.c:787:73: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_new_top(const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE realpath, const rb_iseq_t *parent) data/ruby3.0-3.0.0~preview1/iseq.c:798:50: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. return rb_iseq_new_with_opt(ast, name, path, realpath, INT2FIX(0), parent, ISEQ_TYPE_TOP, data/ruby3.0-3.0.0~preview1/iseq.c:803:62: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_new_main(const rb_ast_body_t *ast, VALUE path, VALUE realpath, const rb_iseq_t *parent) data/ruby3.0-3.0.0~preview1/iseq.c:806:11: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. path, realpath, INT2FIX(0), data/ruby3.0-3.0.0~preview1/iseq.c:825:78: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_new_with_opt(const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE realpath, data/ruby3.0-3.0.0~preview1/iseq.c:842:42: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. prepare_iseq_build(iseq, name, path, realpath, first_lineno, node ? &node->nd_loc : NULL, node ? nd_node_id(node) : -1, parent, type, &new_opt); data/ruby3.0-3.0.0~preview1/iseq.c:853:35: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. VALUE name, VALUE path, VALUE realpath, data/ruby3.0-3.0.0~preview1/iseq.c:861:42: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. prepare_iseq_build(iseq, name, path, realpath, first_lineno, NULL, -1, parent, type, option); data/ruby3.0-3.0.0~preview1/iseq.c:920:23: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. VALUE name, path, realpath, first_lineno, code_location, node_id; data/ruby3.0-3.0.0~preview1/iseq.c:945:25: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. realpath = NIL_P(realpath) ? Qnil : CHECK_STRING(realpath); data/ruby3.0-3.0.0~preview1/iseq.c:945:57: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. realpath = NIL_P(realpath) ? Qnil : CHECK_STRING(realpath); data/ruby3.0-3.0.0~preview1/iseq.c:973:42: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. prepare_iseq_build(iseq, name, path, realpath, first_lineno, &tmp_loc, NUM2INT(node_id), data/ruby3.0-3.0.0~preview1/iseq.c:1001:58: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE realpath, VALUE line, VALUE opt) data/ruby3.0-3.0.0~preview1/iseq.c:1041:55: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. iseq = rb_iseq_new_with_opt(&ast->body, label, file, realpath, line, data/ruby3.0-3.0.0~preview1/main.c:40:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ruby_set_debug_option(getenv("RUBY_DEBUG")); data/ruby3.0-3.0.0~preview1/missing/langinfo.c:69:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (((l = getenv("LC_ALL")) && *l) || data/ruby3.0-3.0.0~preview1/missing/langinfo.c:70:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ((l = getenv("LC_CTYPE")) && *l) || data/ruby3.0-3.0.0~preview1/missing/langinfo.c:71:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ((l = getenv("LANG")) && *l)) { data/ruby3.0-3.0.0~preview1/mjit.c:542:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("MJIT_SEARCH_BUILD_DIR")) { data/ruby3.0-3.0.0~preview1/mjit.c:567:55: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. verbose(3, "PRELOADENV("PRELOADENV")=%s", getenv(PRELOADENV)); data/ruby3.0-3.0.0~preview1/mjit.c:708:31: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (check_tmpdir(tmpdir = getenv(name))) return ruby_strdup(tmpdir) data/ruby3.0-3.0.0~preview1/mjit_worker.c:122:35: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. #define dlopen(name,flag) ((void*)LoadLibrary(name)) data/ruby3.0-3.0.0~preview1/ruby-runner.c:22:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *env = getenv(envname); data/ruby3.0-3.0.0~preview1/ruby.c:77:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(); data/ruby3.0-3.0.0~preview1/ruby.c:694:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ruby_push_include(getenv("RUBYLIB"), identical_path); data/ruby3.0-3.0.0~preview1/ruby.c:1646:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!getenv("LESS")) ruby_setenv("LESS", "-R"); // Output "raw" control characters. data/ruby3.0-3.0.0~preview1/ruby.c:1673:37: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *pager_env = getenv("RUBY_PAGER"); data/ruby3.0-3.0.0~preview1/ruby.c:1674:41: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!pager_env) pager_env = getenv("PAGER"); data/ruby3.0-3.0.0~preview1/ruby.c:1676:43: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *columns_env = getenv("COLUMNS"); data/ruby3.0-3.0.0~preview1/ruby.c:1728:60: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((opt->features.set & FEATURE_BIT(rubyopt)) && (s = getenv("RUBYOPT"))) { data/ruby3.0-3.0.0~preview1/ruby.c:1779:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *path = getenv("RUBYPATH"); data/ruby3.0-3.0.0~preview1/ruby.c:1786:46: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. opt->script = dln_find_file_r(argv[0], getenv(PATH_ENV), fbuf, sizeof(fbuf)); data/ruby3.0-3.0.0~preview1/st.c:524:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *e = getenv("ST_HASH_LOG"); data/ruby3.0-3.0.0~preview1/strftime.c:126:14: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. extern char *getenv(); data/ruby3.0-3.0.0~preview1/thread_win32.c:328:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&lock->crit); data/ruby3.0-3.0.0~preview1/thread_win32.c:370:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&lock->crit); data/ruby3.0-3.0.0~preview1/util.c:578:10: [3] (buffer) getwd: This does not protect against buffer overflows by itself, so use with caution (CWE-120, CWE-20). Use getcwd instead. if (!getwd(buf)) { data/ruby3.0-3.0.0~preview1/vm.c:1053:66: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. iseq = rb_iseq_new(&ast, base_iseq->body->location.label, path, realpath, base_iseq, ISEQ_TYPE_EVAL); data/ruby3.0-3.0.0~preview1/vm.c:2488:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((envval = getenv(name)) != 0) { data/ruby3.0-3.0.0~preview1/vm_core.h:1020:89: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_t *rb_iseq_new (const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE realpath, const rb_iseq_t *parent, enum iseq_type); data/ruby3.0-3.0.0~preview1/vm_core.h:1021:89: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_t *rb_iseq_new_top (const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE realpath, const rb_iseq_t *parent); data/ruby3.0-3.0.0~preview1/vm_core.h:1022:89: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_t *rb_iseq_new_main (const rb_ast_body_t *ast, VALUE path, VALUE realpath, const rb_iseq_t *parent); data/ruby3.0-3.0.0~preview1/vm_core.h:1023:89: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. rb_iseq_t *rb_iseq_new_with_opt(const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE realpath, VALUE first_lineno, data/ruby3.0-3.0.0~preview1/vm_core.h:1040:35: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. VALUE name, VALUE path, VALUE realpath, VALUE first_lineno, data/ruby3.0-3.0.0~preview1/vm_core.h:1628:45: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. VALUE rb_iseq_pathobj_new(VALUE path, VALUE realpath); data/ruby3.0-3.0.0~preview1/vm_core.h:1629:67: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. void rb_iseq_pathobj_set(const rb_iseq_t *iseq, VALUE path, VALUE realpath); data/ruby3.0-3.0.0~preview1/vm_dump.c:668:15: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. dbghelp = LoadLibrary("dbghelp.dll"); data/ruby3.0-3.0.0~preview1/vm_dump.c:924:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *cmd = getenv("RUBY_ON_BUG"); data/ruby3.0-3.0.0~preview1/vm_eval.c:1482:16: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. fname, realpath, INT2FIX(line), data/ruby3.0-3.0.0~preview1/win32/win32.c:73:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. #undef getenv data/ruby3.0-3.0.0~preview1/win32/win32.c:77:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. #define getenv(name) w32_getenv(name, cp) data/ruby3.0-3.0.0~preview1/win32/win32.c:485:6: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. h = LoadLibrary(module); data/ruby3.0-3.0.0~preview1/win32/win32.c:786:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&select_mutex); data/ruby3.0-3.0.0~preview1/win32/win32.c:1365:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((shell = getenv("RUBYSHELL")) && (redir = has_redirection(cmd, cp))) { data/ruby3.0-3.0.0~preview1/win32/win32.c:1373:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. else if ((shell = getenv("COMSPEC")) && data/ruby3.0-3.0.0~preview1/win32/win32.c:1494:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((shell = getenv("COMSPEC")) && data/ruby3.0-3.0.0~preview1/win32/win32.c:2491:36: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. #define rb_acrt_lowio_lock_fh(i) EnterCriticalSection(&_pioinfo(i)->lock) data/ruby3.0-3.0.0~preview1/win32/win32.c:3059:6: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&select_mutex); data/ruby3.0-3.0.0~preview1/addr2line.c:190:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char binary_filename[PATH_MAX + 1]; data/ruby3.0-3.0.0~preview1/addr2line.c:552: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(binary_filename, global_debug_dir, global_debug_dir_len); data/ruby3.0-3.0.0~preview1/addr2line.c:792: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 *abbrev_table[ABBREV_TABLE_SIZE]; data/ruby3.0-3.0.0~preview1/addr2line.c:1564:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(lp, &lines[i], sizeof(line_info_t)); data/ruby3.0-3.0.0~preview1/addr2line.c:1626:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(binary_filename, O_RDONLY); data/ruby3.0-3.0.0~preview1/addr2line.c:1851:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(s, base, basesize); data/ruby3.0-3.0.0~preview1/addr2line.c:1854:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(binary_filename, O_RDONLY); data/ruby3.0-3.0.0~preview1/addr2line.c:1857:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(binary_filename, O_RDONLY); data/ruby3.0-3.0.0~preview1/addr2line.c:2147: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(main_path, binary_filename, len+1); data/ruby3.0-3.0.0~preview1/addr2line.c:2275: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 s[1]; data/ruby3.0-3.0.0~preview1/addr2line.c:2347:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char nbuf[MAXNBUF]; data/ruby3.0-3.0.0~preview1/ast.c:326:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[DECIMAL_SIZE_OF_BITS(sizeof(long) * CHAR_BIT) + 2]; /* including '$' */ data/ruby3.0-3.0.0~preview1/bignum.c:754:47: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. while (0 < src_size && ((unsigned char *)ds)[src_size-1] == 0) data/ruby3.0-3.0.0~preview1/bignum.c:4732: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[SIZEOF_BDIGIT_DBL*CHAR_BIT], *p; data/ruby3.0-3.0.0~preview1/compile.c:7289:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char inline_func[0x20]; data/ruby3.0-3.0.0~preview1/compile.c:9839: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 magic[4]; /* YARB */ data/ruby3.0-3.0.0~preview1/compile.c:9979:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char padding[sizeof(VALUE)]; data/ruby3.0-3.0.0~preview1/compile.c:10015: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(ptr + offset, buff, size); data/ruby3.0-3.0.0~preview1/compile.c:10031: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(buff, load->current_buffer->buff + offset, size); data/ruby3.0-3.0.0~preview1/compile.c:10152:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bytes[max_byte_length]; data/ruby3.0-3.0.0~preview1/compile.c:10172: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. union { char s[sizeof(VALUE)]; VALUE v; } x; data/ruby3.0-3.0.0~preview1/compile.c:10174:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x.s, load->current_buffer->buff + *offset, sizeof(VALUE)); data/ruby3.0-3.0.0~preview1/compile.c:11143: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 buff[0x100]; data/ruby3.0-3.0.0~preview1/cont.c:2414: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 status_info[0x20]; data/ruby3.0-3.0.0~preview1/cont.c:2552:41: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). shared_fiber_pool.free_stacks = atoi(fiber_shared_fiber_pool_free_stacks); data/ruby3.0-3.0.0~preview1/coroutine/copy/Context.c:52:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(context->stack, stack_pointer, size); data/ruby3.0-3.0.0~preview1/coroutine/copy/Context.c:58:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(context->stack, context->base, size); data/ruby3.0-3.0.0~preview1/coroutine/copy/Context.c:77:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bottom, context->stack, context->used); data/ruby3.0-3.0.0~preview1/coroutine/copy/Context.c:82:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(context->base, context->stack, context->used); data/ruby3.0-3.0.0~preview1/debug.c:122:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[0x100]; data/ruby3.0-3.0.0~preview1/debug.c:277: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 filters[MAX_DEBUG_LOG_FILTER][MAX_DEBUG_LOG_FILTER]; data/ruby3.0-3.0.0~preview1/debug.c:310:37: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((debug_log.output = fopen(log_config, "w")) == NULL) { data/ruby3.0-3.0.0~preview1/debug.c:382: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 buff[MAX_DEBUG_LOG_MESSAGE_LEN] = {0}; data/ruby3.0-3.0.0~preview1/debug.c:500:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(fname, "w"); data/ruby3.0-3.0.0~preview1/dir.c:1604:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!open) data/ruby3.0-3.0.0~preview1/dir.c:1690: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(buf, p, m-p); data/ruby3.0-3.0.0~preview1/dir.c:1742:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, path, len); data/ruby3.0-3.0.0~preview1/dir.c:1746:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf+len, name, namlen); data/ruby3.0-3.0.0~preview1/dir.c:1788:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[MAXPATHLEN * 3]; data/ruby3.0-3.0.0~preview1/dir.c:1826: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(path + base, name, len); data/ruby3.0-3.0.0~preview1/dir.c:1884: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(path + base, RSTRING_PTR(tmp), wlen); data/ruby3.0-3.0.0~preview1/dir.c:1899: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(path + base, utf8filename, wlen); data/ruby3.0-3.0.0~preview1/dir.c:2073:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(path, str, path_len); data/ruby3.0-3.0.0~preview1/dir.c:2084: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(path + path_len, str, len); data/ruby3.0-3.0.0~preview1/dir.c:2117:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(name, dp->d_name, namlen); data/ruby3.0-3.0.0~preview1/dir.c:2123:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(altname, dp->d_altname, altlen - 1); data/ruby3.0-3.0.0~preview1/dir.c:2541: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(name, (*cur)->str, len); data/ruby3.0-3.0.0~preview1/dir.c:2766:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, s, lbrace-s); data/ruby3.0-3.0.0~preview1/dir.c:2780: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(buf+shift, t, p-t); data/ruby3.0-3.0.0~preview1/dln.c:134: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 funcname_prefix[sizeof(FUNCNAME_PREFIX) - 1] = FUNCNAME_PREFIX; data/ruby3.0-3.0.0~preview1/dln.c:144: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(tmp, funcname_prefix, plen);\ data/ruby3.0-3.0.0~preview1/dln.c:145: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(tmp+plen, base, flen);\ data/ruby3.0-3.0.0~preview1/dln.c:350: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 *file, fbuf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/dln.c:358:31: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (file == NULL || (fd = open(file, O_RDONLY)) < 0) { data/ruby3.0-3.0.0~preview1/dln.c:372:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/dln.c:913:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *path, *file, fbuf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/dln.c:915: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 armagic[SARMAG]; data/ruby3.0-3.0.0~preview1/dln.c:948:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(file, O_RDONLY); data/ruby3.0-3.0.0~preview1/dln.c:1064:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(file, O_RDONLY); data/ruby3.0-3.0.0~preview1/dln.c:1178: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 *message[1024], errbuf[1024]; data/ruby3.0-3.0.0~preview1/dln.c:1276: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 message[1024]; data/ruby3.0-3.0.0~preview1/dln.c:1369:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. error = memcpy(ALLOCA_N(char, errlen), error, errlen); data/ruby3.0-3.0.0~preview1/dln_find.c:183: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(fbuf, fname, i + 1); data/ruby3.0-3.0.0~preview1/dln_find.c:229: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(bp, home, i); data/ruby3.0-3.0.0~preview1/dln_find.c:239:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, dp, l); data/ruby3.0-3.0.0~preview1/dln_find.c:254:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(bp, fname, i + 1); data/ruby3.0-3.0.0~preview1/enc/big5.c:220: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 BIG5_CAN_BE_TRAIL_TABLE[256] = { data/ruby3.0-3.0.0~preview1/enc/cp949.c:51:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char CP949_CAN_BE_TRAIL_TABLE[256] = { data/ruby3.0-3.0.0~preview1/enc/gbk.c:51:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char GBK_CAN_BE_TRAIL_TABLE[256] = { data/ruby3.0-3.0.0~preview1/enc/jis/props.h:85:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char gperf_downcase[256] = data/ruby3.0-3.0.0~preview1/enc/jis/props.h:159: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 onig_jis_property_pool_str5[sizeof("han")]; data/ruby3.0-3.0.0~preview1/enc/jis/props.h:160: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 onig_jis_property_pool_str7[sizeof("latin")]; data/ruby3.0-3.0.0~preview1/enc/jis/props.h:161: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 onig_jis_property_pool_str8[sizeof("greek")]; data/ruby3.0-3.0.0~preview1/enc/jis/props.h:162: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 onig_jis_property_pool_str10[sizeof("hiragana")]; data/ruby3.0-3.0.0~preview1/enc/jis/props.h:163: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 onig_jis_property_pool_str11[sizeof("katakana")]; data/ruby3.0-3.0.0~preview1/enc/jis/props.h:164: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 onig_jis_property_pool_str12[sizeof("cyrillic")]; data/ruby3.0-3.0.0~preview1/enc/shift_jis.h:52: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 SJIS_CAN_BE_TRAIL_TABLE[256] = { data/ruby3.0-3.0.0~preview1/enc/trans/big5.c:11:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/cesu_8.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/chinese.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/ebcdic.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/emoji.c:10:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/emoji_iso2022_kddi.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/emoji_sjis_docomo.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/emoji_sjis_kddi.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/emoji_sjis_softbank.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/escape.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/gb18030.c:10:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/gbk.c:10:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/iso2022.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/japanese.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/japanese_euc.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/japanese_sjis.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/korean.c:11:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/newline.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/single_byte.c:60:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/utf8_mac.c:10:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/trans/utf8_mac.c:68936:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[STATUS_BUF_SIZE]; data/ruby3.0-3.0.0~preview1/enc/trans/utf8_mac.c:69020:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[3]; data/ruby3.0-3.0.0~preview1/enc/trans/utf_16_32.c:9:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38160: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 uniname2ctype_pool_str6[sizeof("word")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38161: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 uniname2ctype_pool_str7[sizeof("print")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38162: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 uniname2ctype_pool_str8[sizeof("punct")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38163: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 uniname2ctype_pool_str9[sizeof("alpha")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38164: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 uniname2ctype_pool_str10[sizeof("alnum")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38165: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 uniname2ctype_pool_str11[sizeof("xdigit")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38166: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 uniname2ctype_pool_str12[sizeof("upper")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38167: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 uniname2ctype_pool_str13[sizeof("ascii")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38168: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 uniname2ctype_pool_str14[sizeof("cntrl")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38169: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 uniname2ctype_pool_str15[sizeof("space")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38170: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 uniname2ctype_pool_str16[sizeof("xposixpunct")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38171: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 uniname2ctype_pool_str17[sizeof("lower")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38172: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 uniname2ctype_pool_str18[sizeof("graph")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38173: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 uniname2ctype_pool_str19[sizeof("digit")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38174: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 uniname2ctype_pool_str20[sizeof("blank")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38176: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 uniname2ctype_pool_str11[sizeof("yi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38177: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 uniname2ctype_pool_str17[sizeof("yiii")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38178: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 uniname2ctype_pool_str22[sizeof("lana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38179: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 uniname2ctype_pool_str24[sizeof("z")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38180: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 uniname2ctype_pool_str25[sizeof("lina")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38181: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 uniname2ctype_pool_str33[sizeof("maka")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38182: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 uniname2ctype_pool_str35[sizeof("mani")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38183: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 uniname2ctype_pool_str36[sizeof("mn")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38184: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 uniname2ctype_pool_str45[sizeof("miao")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38185: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 uniname2ctype_pool_str46[sizeof("lo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38186: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 uniname2ctype_pool_str47[sizeof("ci")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38187: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 uniname2ctype_pool_str48[sizeof("lao")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38188: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 uniname2ctype_pool_str49[sizeof("laoo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38189: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 uniname2ctype_pool_str52[sizeof("inkannada")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38190: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 uniname2ctype_pool_str55[sizeof("cn")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38191: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 uniname2ctype_pool_str64[sizeof("pi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38192: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 uniname2ctype_pool_str66[sizeof("innko")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38193: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 uniname2ctype_pool_str67[sizeof("zzzz")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38194: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 uniname2ctype_pool_str71[sizeof("gran")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38195: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 uniname2ctype_pool_str75[sizeof("co")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38196: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 uniname2ctype_pool_str83[sizeof("lineara")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38197: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 uniname2ctype_pool_str86[sizeof("mark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38198: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 uniname2ctype_pool_str92[sizeof("po")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38199: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 uniname2ctype_pool_str94[sizeof("me")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38200: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 uniname2ctype_pool_str100[sizeof("cari")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38201: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 uniname2ctype_pool_str101[sizeof("inkharoshthi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38202: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 uniname2ctype_pool_str102[sizeof("kana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38203: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 uniname2ctype_pool_str103[sizeof("loe")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38204: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 uniname2ctype_pool_str107[sizeof("m")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38205: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 uniname2ctype_pool_str108[sizeof("grek")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38206: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 uniname2ctype_pool_str111[sizeof("mro")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38207: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 uniname2ctype_pool_str112[sizeof("mroo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38208: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 uniname2ctype_pool_str115[sizeof("carian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38209: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 uniname2ctype_pool_str117[sizeof("geor")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38210: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 uniname2ctype_pool_str118[sizeof("greek")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38211: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 uniname2ctype_pool_str122[sizeof("gonm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38212: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 uniname2ctype_pool_str129[sizeof("mendekikakui")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38213: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 uniname2ctype_pool_str130[sizeof("pe")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38214: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 uniname2ctype_pool_str131[sizeof("mero")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38215: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 uniname2ctype_pool_str134[sizeof("inosmanya")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38216: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 uniname2ctype_pool_str139[sizeof("cakm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38217: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 uniname2ctype_pool_str145[sizeof("inmanichaean")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38218: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 uniname2ctype_pool_str146[sizeof("inmro")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38219: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 uniname2ctype_pool_str148[sizeof("inmiao")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38220: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 uniname2ctype_pool_str149[sizeof("inchakma")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38221: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 uniname2ctype_pool_str151[sizeof("c")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38222: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 uniname2ctype_pool_str152[sizeof("mandaic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38223: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 uniname2ctype_pool_str153[sizeof("meeteimayek")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38224: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 uniname2ctype_pool_str161[sizeof("inarmenian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38225: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 uniname2ctype_pool_str177[sizeof("inmyanmar")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38226: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 uniname2ctype_pool_str178[sizeof("inmakasar")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38227: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 uniname2ctype_pool_str183[sizeof("common")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38228: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 uniname2ctype_pool_str186[sizeof("lm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38229: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 uniname2ctype_pool_str190[sizeof("marc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38230: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 uniname2ctype_pool_str203[sizeof("inrunic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38231: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 uniname2ctype_pool_str204[sizeof("incarian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38232: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 uniname2ctype_pool_str210[sizeof("inideographicsymbolsandpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38233: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 uniname2ctype_pool_str212[sizeof("inkhmer")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38234: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 uniname2ctype_pool_str213[sizeof("qaai")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38235: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 uniname2ctype_pool_str218[sizeof("inahom")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38236: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 uniname2ctype_pool_str226[sizeof("merc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38237: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 uniname2ctype_pool_str231[sizeof("combiningmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38238: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 uniname2ctype_pool_str236[sizeof("lc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38239: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 uniname2ctype_pool_str237[sizeof("perm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38240: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 uniname2ctype_pool_str246[sizeof("mc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38241: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 uniname2ctype_pool_str250[sizeof("connectorpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38242: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 uniname2ctype_pool_str253[sizeof("cans")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38243: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 uniname2ctype_pool_str260[sizeof("incuneiformnumbersandpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38244: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 uniname2ctype_pool_str263[sizeof("armi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38245: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 uniname2ctype_pool_str265[sizeof("cc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38246: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 uniname2ctype_pool_str267[sizeof("armn")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38247: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 uniname2ctype_pool_str268[sizeof("incherokee")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38248: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 uniname2ctype_pool_str270[sizeof("prependedconcatenationmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38249: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 uniname2ctype_pool_str274[sizeof("incuneiform")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38250: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 uniname2ctype_pool_str275[sizeof("inavestan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38251: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 uniname2ctype_pool_str281[sizeof("inipaextensions")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38252: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 uniname2ctype_pool_str282[sizeof("pc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38253: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 uniname2ctype_pool_str283[sizeof("armenian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38254: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 uniname2ctype_pool_str285[sizeof("insharada")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38255: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 uniname2ctype_pool_str289[sizeof("inmarchen")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38256: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 uniname2ctype_pool_str293[sizeof("makasar")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38257: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 uniname2ctype_pool_str297[sizeof("masaramgondi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38258: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 uniname2ctype_pool_str301[sizeof("inarrows")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38259: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 uniname2ctype_pool_str311[sizeof("incyrillic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38260: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 uniname2ctype_pool_str313[sizeof("incham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38261: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 uniname2ctype_pool_str315[sizeof("qmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38262: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 uniname2ctype_pool_str320[sizeof("ri")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38263: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 uniname2ctype_pool_str322[sizeof("qaac")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38264: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 uniname2ctype_pool_str328[sizeof("insamaritan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38265: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 uniname2ctype_pool_str331[sizeof("latn")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38266: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 uniname2ctype_pool_str335[sizeof("inmasaramgondi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38267: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 uniname2ctype_pool_str338[sizeof("inthaana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38268: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 uniname2ctype_pool_str340[sizeof("latin")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38269: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 uniname2ctype_pool_str342[sizeof("inthai")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38270: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 uniname2ctype_pool_str345[sizeof("lineseparator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38271: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 uniname2ctype_pool_str346[sizeof("pcm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38272: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 uniname2ctype_pool_str348[sizeof("inkatakana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38273: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 uniname2ctype_pool_str352[sizeof("inkaithi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38274: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 uniname2ctype_pool_str357[sizeof("inzanabazarsquare")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38275: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 uniname2ctype_pool_str362[sizeof("inscriptionalparthian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38276: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 uniname2ctype_pool_str366[sizeof("initialpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38277: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 uniname2ctype_pool_str373[sizeof("mtei")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38278: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 uniname2ctype_pool_str376[sizeof("vai")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38279: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 uniname2ctype_pool_str377[sizeof("vaii")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38280: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 uniname2ctype_pool_str386[sizeof("inkhmersymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38281: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 uniname2ctype_pool_str399[sizeof("insyriac")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38282: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 uniname2ctype_pool_str401[sizeof("intakri")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38283: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 uniname2ctype_pool_str404[sizeof("arabic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38284: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 uniname2ctype_pool_str411[sizeof("zs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38285: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 uniname2ctype_pool_str418[sizeof("katakana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38286: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 uniname2ctype_pool_str426[sizeof("prti")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38287: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 uniname2ctype_pool_str442[sizeof("ascii")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38288: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 uniname2ctype_pool_str445[sizeof("cs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38289: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 uniname2ctype_pool_str462[sizeof("ps")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38290: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 uniname2ctype_pool_str468[sizeof("mand")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38291: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 uniname2ctype_pool_str470[sizeof("privateuse")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38292: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 uniname2ctype_pool_str475[sizeof("inruminumeralsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38293: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 uniname2ctype_pool_str480[sizeof("inmyanmarextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38294: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 uniname2ctype_pool_str481[sizeof("modi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38295: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 uniname2ctype_pool_str486[sizeof("incjkcompatibilityforms")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38296: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 uniname2ctype_pool_str488[sizeof("inkanaextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38297: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 uniname2ctype_pool_str491[sizeof("incjkcompatibilityideographs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38298: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 uniname2ctype_pool_str500[sizeof("brai")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38299: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 uniname2ctype_pool_str504[sizeof("mend")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38300: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 uniname2ctype_pool_str505[sizeof("ideo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38301: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 uniname2ctype_pool_str506[sizeof("letter")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38302: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 uniname2ctype_pool_str509[sizeof("l")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38303: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 uniname2ctype_pool_str511[sizeof("inmeeteimayek")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38304: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 uniname2ctype_pool_str520[sizeof("inideographicdescriptioncharacters")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38305: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 uniname2ctype_pool_str535[sizeof("xidcontinue")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38306: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 uniname2ctype_pool_str538[sizeof("knda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38307: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 uniname2ctype_pool_str541[sizeof("innandinagari")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38308: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 uniname2ctype_pool_str543[sizeof("kannada")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38309: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 uniname2ctype_pool_str556[sizeof("inmodi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38310: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 uniname2ctype_pool_str558[sizeof("inlao")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38311: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 uniname2ctype_pool_str560[sizeof("inoldnortharabian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38312: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 uniname2ctype_pool_str565[sizeof("intransportandmapsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38313: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 uniname2ctype_pool_str566[sizeof("letternumber")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38314: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 uniname2ctype_pool_str568[sizeof("gothic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38315: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 uniname2ctype_pool_str572[sizeof("inlineara")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38316: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 uniname2ctype_pool_str577[sizeof("inmendekikakui")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38317: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 uniname2ctype_pool_str578[sizeof("xidc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38318: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 uniname2ctype_pool_str579[sizeof("mongolian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38319: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 uniname2ctype_pool_str582[sizeof("inmiscellaneousmathematicalsymbolsa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38320: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 uniname2ctype_pool_str583[sizeof("inspecials")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38321: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 uniname2ctype_pool_str590[sizeof("grlink")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38322: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 uniname2ctype_pool_str594[sizeof("brahmi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38323: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 uniname2ctype_pool_str596[sizeof("inemoticons")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38324: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 uniname2ctype_pool_str597[sizeof("kali")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38325: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 uniname2ctype_pool_str600[sizeof("inolditalic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38326: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 uniname2ctype_pool_str604[sizeof("inmedefaidrin")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38327: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 uniname2ctype_pool_str605[sizeof("inchesssymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38328: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 uniname2ctype_pool_str608[sizeof("incjkcompatibilityideographssupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38329: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 uniname2ctype_pool_str614[sizeof("inadlam")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38330: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 uniname2ctype_pool_str624[sizeof("psalterpahlavi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38331: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 uniname2ctype_pool_str625[sizeof("incommonindicnumberforms")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38332: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 uniname2ctype_pool_str630[sizeof("lt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38333: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 uniname2ctype_pool_str636[sizeof("innewa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38334: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 uniname2ctype_pool_str639[sizeof("sk")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38335: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 uniname2ctype_pool_str642[sizeof("control")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38336: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 uniname2ctype_pool_str645[sizeof("inancientsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38337: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 uniname2ctype_pool_str647[sizeof("palm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38338: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 uniname2ctype_pool_str650[sizeof("inlycian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38339: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 uniname2ctype_pool_str657[sizeof("so")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38340: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 uniname2ctype_pool_str660[sizeof("patternwhitespace")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38341: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 uniname2ctype_pool_str668[sizeof("xids")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38342: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 uniname2ctype_pool_str672[sizeof("inmandaic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38343: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 uniname2ctype_pool_str675[sizeof("idc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38344: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 uniname2ctype_pool_str678[sizeof("meroiticcursive")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38345: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 uniname2ctype_pool_str695[sizeof("inwarangciti")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38346: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 uniname2ctype_pool_str696[sizeof("sora")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38347: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 uniname2ctype_pool_str697[sizeof("inopticalcharacterrecognition")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38348: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 uniname2ctype_pool_str703[sizeof("inoldsogdian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38349: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 uniname2ctype_pool_str705[sizeof("inmalayalam")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38350: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 uniname2ctype_pool_str707[sizeof("bamum")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38351: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 uniname2ctype_pool_str708[sizeof("inkanasupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38352: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 uniname2ctype_pool_str713[sizeof("insundanese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38353: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 uniname2ctype_pool_str720[sizeof("grext")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38354: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 uniname2ctype_pool_str737[sizeof("print")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38355: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 uniname2ctype_pool_str738[sizeof("intaitham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38356: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 uniname2ctype_pool_str742[sizeof("lower")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38357: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 uniname2ctype_pool_str753[sizeof("joinc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38358: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 uniname2ctype_pool_str755[sizeof("inoldsoutharabian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38359: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 uniname2ctype_pool_str760[sizeof("incjkstrokes")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38360: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 uniname2ctype_pool_str761[sizeof("batk")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38361: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 uniname2ctype_pool_str766[sizeof("samr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38362: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 uniname2ctype_pool_str767[sizeof("inwancho")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38363: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 uniname2ctype_pool_str771[sizeof("batak")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38364: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 uniname2ctype_pool_str772[sizeof("vs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38365: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 uniname2ctype_pool_str776[sizeof("patws")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38366: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 uniname2ctype_pool_str783[sizeof("samaritan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38367: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 uniname2ctype_pool_str787[sizeof("idsbinaryoperator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38368: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 uniname2ctype_pool_str791[sizeof("pauc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38369: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 uniname2ctype_pool_str794[sizeof("insmallkanaextension")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38370: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 uniname2ctype_pool_str797[sizeof("sm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38371: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 uniname2ctype_pool_str799[sizeof("indominotiles")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38372: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 uniname2ctype_pool_str802[sizeof("alnum")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38373: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 uniname2ctype_pool_str809[sizeof("insylotinagri")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38374: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 uniname2ctype_pool_str814[sizeof("inugaritic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38375: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 uniname2ctype_pool_str818[sizeof("incontrolpictures")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38376: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 uniname2ctype_pool_str821[sizeof("inlinearbideograms")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38377: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 uniname2ctype_pool_str822[sizeof("inmusicalsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38378: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 uniname2ctype_pool_str823[sizeof("s")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38379: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 uniname2ctype_pool_str824[sizeof("ital")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38380: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 uniname2ctype_pool_str825[sizeof("inmodifiertoneletters")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38381: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 uniname2ctype_pool_str828[sizeof("inancientgreekmusicalnotation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38382: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 uniname2ctype_pool_str834[sizeof("patternsyntax")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38383: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 uniname2ctype_pool_str838[sizeof("lisu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38384: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 uniname2ctype_pool_str842[sizeof("lowercase")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38385: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 uniname2ctype_pool_str845[sizeof("cwcm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38386: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 uniname2ctype_pool_str847[sizeof("sc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38387: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 uniname2ctype_pool_str848[sizeof("bass")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38388: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 uniname2ctype_pool_str855[sizeof("ids")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38389: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 uniname2ctype_pool_str857[sizeof("inlatinextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38390: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 uniname2ctype_pool_str862[sizeof("oriya")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38391: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 uniname2ctype_pool_str875[sizeof("intaile")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38392: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 uniname2ctype_pool_str886[sizeof("inmiscellaneoussymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38393: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 uniname2ctype_pool_str895[sizeof("inmiscellaneoussymbolsandarrows")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38394: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 uniname2ctype_pool_str898[sizeof("incaucasianalbanian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38395: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 uniname2ctype_pool_str900[sizeof("inmiscellaneoussymbolsandpictographs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38396: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 uniname2ctype_pool_str906[sizeof("inoldturkic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38397: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 uniname2ctype_pool_str907[sizeof("insaurashtra")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38398: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 uniname2ctype_pool_str924[sizeof("idcontinue")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38399: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 uniname2ctype_pool_str926[sizeof("intamil")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38400: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 uniname2ctype_pool_str928[sizeof("inmultani")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38401: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 uniname2ctype_pool_str929[sizeof("inlatinextendede")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38402: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 uniname2ctype_pool_str930[sizeof("pd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38403: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 uniname2ctype_pool_str946[sizeof("bali")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38404: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 uniname2ctype_pool_str961[sizeof("blank")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38405: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 uniname2ctype_pool_str963[sizeof("idst")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38406: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 uniname2ctype_pool_str974[sizeof("inlydian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38407: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 uniname2ctype_pool_str986[sizeof("innewtailue")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38408: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 uniname2ctype_pool_str994[sizeof("bengali")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38409: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 uniname2ctype_pool_str995[sizeof("runr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38410: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 uniname2ctype_pool_str1005[sizeof("zl")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38411: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 uniname2ctype_pool_str1009[sizeof("incyrillicextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38412: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 uniname2ctype_pool_str1010[sizeof("ll")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38413: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 uniname2ctype_pool_str1013[sizeof("indeseret")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38414: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 uniname2ctype_pool_str1014[sizeof("intaixuanjingsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38415: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 uniname2ctype_pool_str1015[sizeof("inancientgreeknumbers")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38416: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 uniname2ctype_pool_str1021[sizeof("idstart")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38417: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 uniname2ctype_pool_str1025[sizeof("inmeeteimayekextensions")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38418: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 uniname2ctype_pool_str1028[sizeof("balinese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38419: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 uniname2ctype_pool_str1032[sizeof("dia")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38420: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 uniname2ctype_pool_str1033[sizeof("di")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38421: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 uniname2ctype_pool_str1035[sizeof("inspacingmodifierletters")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38422: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 uniname2ctype_pool_str1036[sizeof("inearlydynasticcuneiform")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38423: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 uniname2ctype_pool_str1049[sizeof("plrd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38424: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 uniname2ctype_pool_str1067[sizeof("canadianaboriginal")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38425: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 uniname2ctype_pool_str1070[sizeof("zinh")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38426: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 uniname2ctype_pool_str1072[sizeof("sind")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38427: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 uniname2ctype_pool_str1080[sizeof("osage")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38428: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 uniname2ctype_pool_str1081[sizeof("inlatinextendedc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38429: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 uniname2ctype_pool_str1085[sizeof("uideo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38430: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 uniname2ctype_pool_str1087[sizeof("incountingrodnumerals")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38431: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 uniname2ctype_pool_str1090[sizeof("xidstart")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38432: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 uniname2ctype_pool_str1091[sizeof("xdigit")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38433: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 uniname2ctype_pool_str1093[sizeof("osma")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38434: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 uniname2ctype_pool_str1097[sizeof("inkhudawadi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38435: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 uniname2ctype_pool_str1102[sizeof("inhanifirohingya")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38436: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 uniname2ctype_pool_str1105[sizeof("gong")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38437: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 uniname2ctype_pool_str1107[sizeof("ingrantha")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38438: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 uniname2ctype_pool_str1109[sizeof("bidic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38439: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 uniname2ctype_pool_str1119[sizeof("mong")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38440: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 uniname2ctype_pool_str1120[sizeof("cased")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38441: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 uniname2ctype_pool_str1121[sizeof("incyrillicextendedc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38442: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 uniname2ctype_pool_str1134[sizeof("inhiragana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38443: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 uniname2ctype_pool_str1140[sizeof("sinhala")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38444: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 uniname2ctype_pool_str1142[sizeof("adlm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38445: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 uniname2ctype_pool_str1146[sizeof("glagolitic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38446: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 uniname2ctype_pool_str1147[sizeof("sterm")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38447: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 uniname2ctype_pool_str1149[sizeof("bamu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38448: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 uniname2ctype_pool_str1150[sizeof("georgian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38449: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 uniname2ctype_pool_str1151[sizeof("inosage")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38450: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 uniname2ctype_pool_str1152[sizeof("gunjalagondi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38451: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 uniname2ctype_pool_str1153[sizeof("phoenician")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38452: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 uniname2ctype_pool_str1157[sizeof("multani")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38453: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 uniname2ctype_pool_str1158[sizeof("kaithi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38454: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 uniname2ctype_pool_str1164[sizeof("joincontrol")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38455: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 uniname2ctype_pool_str1168[sizeof("runic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38456: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 uniname2ctype_pool_str1170[sizeof("ingeneralpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38457: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 uniname2ctype_pool_str1171[sizeof("inmahajani")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38458: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 uniname2ctype_pool_str1174[sizeof("incyrillicsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38459: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 uniname2ctype_pool_str1175[sizeof("lowercaseletter")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38460: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 uniname2ctype_pool_str1176[sizeof("marchen")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38461: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 uniname2ctype_pool_str1177[sizeof("graphemelink")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38462: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 uniname2ctype_pool_str1178[sizeof("ingeorgian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38463: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 uniname2ctype_pool_str1180[sizeof("khojki")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38464: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 uniname2ctype_pool_str1181[sizeof("cham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38465: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 uniname2ctype_pool_str1182[sizeof("inogham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38466: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 uniname2ctype_pool_str1183[sizeof("cher")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38467: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 uniname2ctype_pool_str1185[sizeof("chakma")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38468: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 uniname2ctype_pool_str1190[sizeof("emoji")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38469: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 uniname2ctype_pool_str1191[sizeof("insiddham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38470: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 uniname2ctype_pool_str1197[sizeof("cherokee")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38471: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 uniname2ctype_pool_str1198[sizeof("khar")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38472: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 uniname2ctype_pool_str1203[sizeof("inmongolian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38473: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 uniname2ctype_pool_str1207[sizeof("incherokeesupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38474: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 uniname2ctype_pool_str1208[sizeof("diacritic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38475: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 uniname2ctype_pool_str1209[sizeof("manichaean")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38476: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 uniname2ctype_pool_str1210[sizeof("xsux")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38477: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 uniname2ctype_pool_str1212[sizeof("inolchiki")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38478: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 uniname2ctype_pool_str1227[sizeof("quotationmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38479: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 uniname2ctype_pool_str1231[sizeof("adlam")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38480: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 uniname2ctype_pool_str1232[sizeof("inethiopic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38481: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 uniname2ctype_pool_str1233[sizeof("graphemebase")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38483: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 uniname2ctype_pool_str1234[sizeof("age=11.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38484: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 uniname2ctype_pool_str1235[sizeof("age=12.1")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38485: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 uniname2ctype_pool_str1236[sizeof("age=10.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38486: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 uniname2ctype_pool_str1237[sizeof("age=12.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38488: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 uniname2ctype_pool_str1243[sizeof("casedletter")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38489: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 uniname2ctype_pool_str1244[sizeof("ingurmukhi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38490: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 uniname2ctype_pool_str1245[sizeof("odi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38491: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 uniname2ctype_pool_str1246[sizeof("incjkunifiedideographsextensiona")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38493: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 uniname2ctype_pool_str1247[sizeof("age=1.1")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38495: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 uniname2ctype_pool_str1248[sizeof("lu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38497: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 uniname2ctype_pool_str1249[sizeof("age=4.1")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38498: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 uniname2ctype_pool_str1250[sizeof("age=2.1")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38499: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 uniname2ctype_pool_str1251[sizeof("age=4.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38500: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 uniname2ctype_pool_str1252[sizeof("age=2.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38501: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 uniname2ctype_pool_str1253[sizeof("age=9.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38503: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 uniname2ctype_pool_str1254[sizeof("intamilsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38505: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 uniname2ctype_pool_str1255[sizeof("age=6.1")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38507: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 uniname2ctype_pool_str1256[sizeof("unknown")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38509: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 uniname2ctype_pool_str1257[sizeof("age=6.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38510: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 uniname2ctype_pool_str1258[sizeof("age=6.2")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38511: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 uniname2ctype_pool_str1259[sizeof("age=3.1")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38512: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 uniname2ctype_pool_str1260[sizeof("age=8.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38513: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 uniname2ctype_pool_str1261[sizeof("age=3.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38514: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 uniname2ctype_pool_str1262[sizeof("age=3.2")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38516: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 uniname2ctype_pool_str1263[sizeof("cwt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38518: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 uniname2ctype_pool_str1264[sizeof("age=7.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38520: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 uniname2ctype_pool_str1266[sizeof("unassigned")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38522: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 uniname2ctype_pool_str1267[sizeof("age=6.3")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38523: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 uniname2ctype_pool_str1268[sizeof("age=5.1")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38524: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 uniname2ctype_pool_str1270[sizeof("age=5.0")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38525: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 uniname2ctype_pool_str1271[sizeof("age=5.2")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38527: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 uniname2ctype_pool_str1274[sizeof("ahom")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38528: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 uniname2ctype_pool_str1282[sizeof("incjkunifiedideographsextensione")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38529: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 uniname2ctype_pool_str1285[sizeof("khmr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38530: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 uniname2ctype_pool_str1289[sizeof("insinhala")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38531: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 uniname2ctype_pool_str1292[sizeof("inmiscellaneoustechnical")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38532: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 uniname2ctype_pool_str1297[sizeof("saur")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38533: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 uniname2ctype_pool_str1300[sizeof("guru")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38534: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 uniname2ctype_pool_str1301[sizeof("sundanese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38535: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 uniname2ctype_pool_str1306[sizeof("punct")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38536: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 uniname2ctype_pool_str1314[sizeof("paucinhau")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38537: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 uniname2ctype_pool_str1317[sizeof("gurmukhi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38538: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 uniname2ctype_pool_str1319[sizeof("variationselector")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38539: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 uniname2ctype_pool_str1331[sizeof("logicalorderexception")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38540: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 uniname2ctype_pool_str1340[sizeof("khmer")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38541: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 uniname2ctype_pool_str1343[sizeof("limbu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38542: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 uniname2ctype_pool_str1354[sizeof("inscriptionalpahlavi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38543: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 uniname2ctype_pool_str1355[sizeof("oidc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38544: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 uniname2ctype_pool_str1358[sizeof("incjkunifiedideographsextensionc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38545: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 uniname2ctype_pool_str1360[sizeof("cntrl")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38546: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 uniname2ctype_pool_str1365[sizeof("inlatinextendedadditional")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38547: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 uniname2ctype_pool_str1366[sizeof("decimalnumber")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38548: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 uniname2ctype_pool_str1367[sizeof("insorasompeng")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38549: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 uniname2ctype_pool_str1369[sizeof("radical")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38550: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 uniname2ctype_pool_str1373[sizeof("emojimodifier")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38551: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 uniname2ctype_pool_str1375[sizeof("kharoshthi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38552: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 uniname2ctype_pool_str1380[sizeof("n")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38553: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 uniname2ctype_pool_str1384[sizeof("math")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38554: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 uniname2ctype_pool_str1387[sizeof("goth")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38555: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 uniname2ctype_pool_str1400[sizeof("anatolianhieroglyphs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38556: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 uniname2ctype_pool_str1401[sizeof("inenclosedalphanumerics")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38557: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 uniname2ctype_pool_str1407[sizeof("nandinagari")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38558: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 uniname2ctype_pool_str1409[sizeof("no")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38559: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 uniname2ctype_pool_str1419[sizeof("nko")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38560: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 uniname2ctype_pool_str1420[sizeof("nkoo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38561: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 uniname2ctype_pool_str1422[sizeof("ingreekandcoptic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38562: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 uniname2ctype_pool_str1423[sizeof("olck")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38563: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 uniname2ctype_pool_str1426[sizeof("p")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38564: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 uniname2ctype_pool_str1428[sizeof("grantha")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38565: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 uniname2ctype_pool_str1434[sizeof("olchiki")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38566: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 uniname2ctype_pool_str1438[sizeof("incjkunifiedideographs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38567: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 uniname2ctype_pool_str1441[sizeof("zanb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38568: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 uniname2ctype_pool_str1442[sizeof("intirhuta")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38569: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 uniname2ctype_pool_str1445[sizeof("oids")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38570: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 uniname2ctype_pool_str1448[sizeof("inhatran")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38571: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 uniname2ctype_pool_str1449[sizeof("linb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38572: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 uniname2ctype_pool_str1450[sizeof("xpeo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38573: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 uniname2ctype_pool_str1451[sizeof("mult")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38574: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 uniname2ctype_pool_str1454[sizeof("saurashtra")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38575: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 uniname2ctype_pool_str1457[sizeof("kthi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38576: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 uniname2ctype_pool_str1462[sizeof("inbhaiksuki")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38577: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 uniname2ctype_pool_str1466[sizeof("olower")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38578: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 uniname2ctype_pool_str1470[sizeof("innabataean")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38579: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 uniname2ctype_pool_str1471[sizeof("inphoenician")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38580: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 uniname2ctype_pool_str1475[sizeof("inkanbun")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38581: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 uniname2ctype_pool_str1476[sizeof("inmeroitichieroglyphs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38582: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 uniname2ctype_pool_str1478[sizeof("inkayahli")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38583: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 uniname2ctype_pool_str1481[sizeof("phnx")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38584: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 uniname2ctype_pool_str1485[sizeof("inoriya")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38585: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 uniname2ctype_pool_str1489[sizeof("enclosingmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38586: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 uniname2ctype_pool_str1495[sizeof("sd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38587: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 uniname2ctype_pool_str1497[sizeof("inelbasan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38588: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 uniname2ctype_pool_str1498[sizeof("wara")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38589: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 uniname2ctype_pool_str1499[sizeof("inenclosedideographicsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38590: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 uniname2ctype_pool_str1501[sizeof("sidd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38591: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 uniname2ctype_pool_str1507[sizeof("linearb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38592: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 uniname2ctype_pool_str1509[sizeof("hani")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38593: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 uniname2ctype_pool_str1512[sizeof("han")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38594: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 uniname2ctype_pool_str1517[sizeof("inenclosedalphanumericsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38595: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 uniname2ctype_pool_str1519[sizeof("medf")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38596: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 uniname2ctype_pool_str1520[sizeof("bidicontrol")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38597: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 uniname2ctype_pool_str1523[sizeof("hano")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38598: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 uniname2ctype_pool_str1524[sizeof("inphaistosdisc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38599: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 uniname2ctype_pool_str1529[sizeof("limb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38600: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 uniname2ctype_pool_str1531[sizeof("inkangxiradicals")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38601: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 uniname2ctype_pool_str1533[sizeof("lepc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38602: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 uniname2ctype_pool_str1535[sizeof("medefaidrin")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38603: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 uniname2ctype_pool_str1536[sizeof("braille")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38604: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 uniname2ctype_pool_str1537[sizeof("regionalindicator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38605: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 uniname2ctype_pool_str1542[sizeof("inlowsurrogates")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38606: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 uniname2ctype_pool_str1544[sizeof("inshorthandformatcontrols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38607: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 uniname2ctype_pool_str1547[sizeof("brah")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38608: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 uniname2ctype_pool_str1548[sizeof("inkhojki")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38609: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 uniname2ctype_pool_str1549[sizeof("inoldhungarian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38610: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 uniname2ctype_pool_str1552[sizeof("hanunoo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38611: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 uniname2ctype_pool_str1555[sizeof("hira")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38612: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 uniname2ctype_pool_str1557[sizeof("beng")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38613: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 uniname2ctype_pool_str1563[sizeof("emojimodifierbase")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38614: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 uniname2ctype_pool_str1565[sizeof("inarabic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38615: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 uniname2ctype_pool_str1567[sizeof("lyci")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38616: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 uniname2ctype_pool_str1569[sizeof("ahex")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38617: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 uniname2ctype_pool_str1572[sizeof("inherited")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38618: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 uniname2ctype_pool_str1580[sizeof("glag")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38619: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 uniname2ctype_pool_str1582[sizeof("lycian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38620: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 uniname2ctype_pool_str1587[sizeof("indogra")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38621: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 uniname2ctype_pool_str1594[sizeof("dsrt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38622: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 uniname2ctype_pool_str1597[sizeof("arab")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38623: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 uniname2ctype_pool_str1602[sizeof("mymr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38624: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 uniname2ctype_pool_str1607[sizeof("myanmar")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38625: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 uniname2ctype_pool_str1613[sizeof("phli")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38626: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 uniname2ctype_pool_str1617[sizeof("inimperialaramaic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38627: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 uniname2ctype_pool_str1622[sizeof("ingreekextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38628: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 uniname2ctype_pool_str1623[sizeof("inanatolianhieroglyphs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38629: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 uniname2ctype_pool_str1629[sizeof("punctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38630: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 uniname2ctype_pool_str1631[sizeof("takri")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38631: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 uniname2ctype_pool_str1635[sizeof("graphemeextend")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38632: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 uniname2ctype_pool_str1638[sizeof("invai")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38633: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 uniname2ctype_pool_str1643[sizeof("cwl")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38634: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 uniname2ctype_pool_str1654[sizeof("ingeometricshapes")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38635: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 uniname2ctype_pool_str1655[sizeof("emojicomponent")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38636: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 uniname2ctype_pool_str1662[sizeof("coptic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38637: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 uniname2ctype_pool_str1671[sizeof("deseret")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38638: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 uniname2ctype_pool_str1675[sizeof("inarabicpresentationformsa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38639: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 uniname2ctype_pool_str1676[sizeof("takr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38640: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 uniname2ctype_pool_str1677[sizeof("inbasiclatin")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38641: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 uniname2ctype_pool_str1682[sizeof("incjkunifiedideographsextensiond")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38642: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 uniname2ctype_pool_str1686[sizeof("sinh")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38643: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 uniname2ctype_pool_str1687[sizeof("sund")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38644: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 uniname2ctype_pool_str1691[sizeof("shavian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38645: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 uniname2ctype_pool_str1692[sizeof("taile")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38646: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 uniname2ctype_pool_str1699[sizeof("insundanesesupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38647: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 uniname2ctype_pool_str1702[sizeof("inelymaic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38648: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 uniname2ctype_pool_str1703[sizeof("insoyombo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38649: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 uniname2ctype_pool_str1704[sizeof("bhks")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38650: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 uniname2ctype_pool_str1714[sizeof("bhaiksuki")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38651: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 uniname2ctype_pool_str1716[sizeof("incjkcompatibility")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38652: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 uniname2ctype_pool_str1722[sizeof("inhanunoo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38653: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 uniname2ctype_pool_str1724[sizeof("intangut")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38654: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 uniname2ctype_pool_str1728[sizeof("sogdian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38655: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 uniname2ctype_pool_str1729[sizeof("inlatinextendedd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38656: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 uniname2ctype_pool_str1730[sizeof("sogo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38657: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 uniname2ctype_pool_str1731[sizeof("insinhalaarchaicnumbers")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38658: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 uniname2ctype_pool_str1732[sizeof("ideographic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38659: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 uniname2ctype_pool_str1733[sizeof("ugar")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38660: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 uniname2ctype_pool_str1740[sizeof("copt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38661: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 uniname2ctype_pool_str1742[sizeof("imperialaramaic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38662: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 uniname2ctype_pool_str1745[sizeof("insogdian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38663: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 uniname2ctype_pool_str1746[sizeof("indingbats")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38664: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 uniname2ctype_pool_str1750[sizeof("format")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38665: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 uniname2ctype_pool_str1752[sizeof("ininscriptionalpahlavi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38666: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 uniname2ctype_pool_str1757[sizeof("ininscriptionalparthian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38667: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 uniname2ctype_pool_str1766[sizeof("grbase")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38668: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 uniname2ctype_pool_str1769[sizeof("inbatak")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38669: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 uniname2ctype_pool_str1776[sizeof("cprt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38670: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 uniname2ctype_pool_str1780[sizeof("cwcf")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38671: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 uniname2ctype_pool_str1788[sizeof("cuneiform")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38672: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 uniname2ctype_pool_str1791[sizeof("term")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38673: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 uniname2ctype_pool_str1806[sizeof("intibetan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38674: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 uniname2ctype_pool_str1810[sizeof("intags")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38675: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 uniname2ctype_pool_str1811[sizeof("asciihexdigit")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38676: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 uniname2ctype_pool_str1813[sizeof("sentenceterminal")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38677: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 uniname2ctype_pool_str1816[sizeof("inmayannumerals")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38678: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 uniname2ctype_pool_str1821[sizeof("nand")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38679: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 uniname2ctype_pool_str1825[sizeof("patsyn")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38680: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 uniname2ctype_pool_str1826[sizeof("hatran")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38681: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 uniname2ctype_pool_str1828[sizeof("inblockelements")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38682: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 uniname2ctype_pool_str1838[sizeof("inornamentaldingbats")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38683: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 uniname2ctype_pool_str1842[sizeof("innumberforms")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38684: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 uniname2ctype_pool_str1843[sizeof("oldpersian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38685: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 uniname2ctype_pool_str1846[sizeof("inshavian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38686: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 uniname2ctype_pool_str1848[sizeof("bopo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38687: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 uniname2ctype_pool_str1861[sizeof("hatr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38688: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 uniname2ctype_pool_str1866[sizeof("caseignorable")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38689: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 uniname2ctype_pool_str1871[sizeof("inoldpersian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38690: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 uniname2ctype_pool_str1878[sizeof("modifierletter")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38691: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 uniname2ctype_pool_str1881[sizeof("cwu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38692: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 uniname2ctype_pool_str1891[sizeof("lydi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38693: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 uniname2ctype_pool_str1892[sizeof("inbyzantinemusicalsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38694: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 uniname2ctype_pool_str1896[sizeof("ingeometricshapesextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38695: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 uniname2ctype_pool_str1904[sizeof("inmyanmarextendedb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38696: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 uniname2ctype_pool_str1905[sizeof("innushu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38697: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 uniname2ctype_pool_str1906[sizeof("lydian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38698: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 uniname2ctype_pool_str1911[sizeof("inunifiedcanadianaboriginalsyllabics")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38699: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 uniname2ctype_pool_str1915[sizeof("orkh")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38700: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 uniname2ctype_pool_str1928[sizeof("inyiradicals")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38701: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 uniname2ctype_pool_str1929[sizeof("inkatakanaphoneticextensions")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38702: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 uniname2ctype_pool_str1930[sizeof("inethiopicextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38703: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 uniname2ctype_pool_str1932[sizeof("incoptic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38704: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 uniname2ctype_pool_str1936[sizeof("inarabicextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38705: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 uniname2ctype_pool_str1947[sizeof("oldpermic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38706: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 uniname2ctype_pool_str1950[sizeof("incjksymbolsandpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38707: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 uniname2ctype_pool_str1951[sizeof("word")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38708: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 uniname2ctype_pool_str1958[sizeof("bopomofo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38709: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 uniname2ctype_pool_str1961[sizeof("ogam")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38710: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 uniname2ctype_pool_str1964[sizeof("inlisu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38711: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 uniname2ctype_pool_str1967[sizeof("inoldpermic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38712: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 uniname2ctype_pool_str1968[sizeof("innoblock")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38713: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 uniname2ctype_pool_str1971[sizeof("taiviet")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38714: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 uniname2ctype_pool_str1985[sizeof("inbraillepatterns")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38715: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 uniname2ctype_pool_str1991[sizeof("alpha")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38716: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 uniname2ctype_pool_str1993[sizeof("inbalinese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38717: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 uniname2ctype_pool_str1994[sizeof("sorasompeng")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38718: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 uniname2ctype_pool_str1996[sizeof("closepunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38719: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 uniname2ctype_pool_str2006[sizeof("inmiscellaneousmathematicalsymbolsb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38720: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 uniname2ctype_pool_str2010[sizeof("inlepcha")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38721: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 uniname2ctype_pool_str2014[sizeof("insyriacsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38722: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 uniname2ctype_pool_str2016[sizeof("newa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38723: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 uniname2ctype_pool_str2023[sizeof("spacingmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38724: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 uniname2ctype_pool_str2024[sizeof("inpalmyrene")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38725: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 uniname2ctype_pool_str2033[sizeof("cyrl")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38726: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 uniname2ctype_pool_str2043[sizeof("assigned")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38727: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 uniname2ctype_pool_str2048[sizeof("mlym")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38728: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 uniname2ctype_pool_str2055[sizeof("malayalam")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38729: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 uniname2ctype_pool_str2058[sizeof("ext")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38730: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 uniname2ctype_pool_str2062[sizeof("newtailue")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38731: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 uniname2ctype_pool_str2070[sizeof("space")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38732: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 uniname2ctype_pool_str2073[sizeof("intelugu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38733: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 uniname2ctype_pool_str2078[sizeof("idsb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38734: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 uniname2ctype_pool_str2083[sizeof("indevanagari")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38735: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 uniname2ctype_pool_str2084[sizeof("avestan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38736: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 uniname2ctype_pool_str2085[sizeof("cf")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38737: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 uniname2ctype_pool_str2093[sizeof("palmyrene")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38738: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 uniname2ctype_pool_str2095[sizeof("inethiopicsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38739: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 uniname2ctype_pool_str2097[sizeof("soyo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38740: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 uniname2ctype_pool_str2098[sizeof("xposixpunct")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38741: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 uniname2ctype_pool_str2102[sizeof("pf")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38742: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 uniname2ctype_pool_str2103[sizeof("sarb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38743: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 uniname2ctype_pool_str2109[sizeof("zanabazarsquare")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38744: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 uniname2ctype_pool_str2110[sizeof("ugaritic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38745: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 uniname2ctype_pool_str2112[sizeof("osge")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38746: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 uniname2ctype_pool_str2114[sizeof("java")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38747: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 uniname2ctype_pool_str2117[sizeof("sharada")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38748: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 uniname2ctype_pool_str2119[sizeof("dogra")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38749: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 uniname2ctype_pool_str2135[sizeof("bugi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38750: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 uniname2ctype_pool_str2137[sizeof("meroitichieroglyphs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38751: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 uniname2ctype_pool_str2145[sizeof("separator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38752: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 uniname2ctype_pool_str2146[sizeof("ingeorgiansupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38753: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 uniname2ctype_pool_str2149[sizeof("sogd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38754: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 uniname2ctype_pool_str2150[sizeof("tale")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38755: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 uniname2ctype_pool_str2153[sizeof("inunifiedcanadianaboriginalsyllabicsextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38756: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 uniname2ctype_pool_str2161[sizeof("terminalpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38757: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 uniname2ctype_pool_str2165[sizeof("shrd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38758: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 uniname2ctype_pool_str2166[sizeof("graph")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38759: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 uniname2ctype_pool_str2167[sizeof("olditalic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38760: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 uniname2ctype_pool_str2170[sizeof("dogr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38761: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 uniname2ctype_pool_str2173[sizeof("gujr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38762: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 uniname2ctype_pool_str2181[sizeof("phag")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38763: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 uniname2ctype_pool_str2182[sizeof("gujarati")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38764: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 uniname2ctype_pool_str2195[sizeof("inhanguljamo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38765: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 uniname2ctype_pool_str2199[sizeof("javanese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38766: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 uniname2ctype_pool_str2201[sizeof("taml")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38767: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 uniname2ctype_pool_str2204[sizeof("inphoneticextensions")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38768: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 uniname2ctype_pool_str2207[sizeof("siddham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38769: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 uniname2ctype_pool_str2217[sizeof("buginese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38770: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 uniname2ctype_pool_str2218[sizeof("inmongoliansupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38771: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 uniname2ctype_pool_str2222[sizeof("invariationselectors")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38772: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 uniname2ctype_pool_str2224[sizeof("inhanguljamoextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38773: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 uniname2ctype_pool_str2225[sizeof("inverticalforms")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38774: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 uniname2ctype_pool_str2228[sizeof("syrc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38775: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 uniname2ctype_pool_str2229[sizeof("number")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38776: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 uniname2ctype_pool_str2235[sizeof("incopticepactnumbers")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38777: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 uniname2ctype_pool_str2238[sizeof("avst")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38778: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 uniname2ctype_pool_str2244[sizeof("inbamum")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38779: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 uniname2ctype_pool_str2247[sizeof("nd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38780: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 uniname2ctype_pool_str2248[sizeof("insuttonsignwriting")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38781: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 uniname2ctype_pool_str2252[sizeof("extender")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38782: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 uniname2ctype_pool_str2258[sizeof("intaiviet")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38783: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 uniname2ctype_pool_str2260[sizeof("hex")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38784: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 uniname2ctype_pool_str2268[sizeof("incjkunifiedideographsextensionf")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38785: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 uniname2ctype_pool_str2271[sizeof("other")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38786: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 uniname2ctype_pool_str2272[sizeof("otheridcontinue")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38787: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 uniname2ctype_pool_str2278[sizeof("shaw")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38788: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 uniname2ctype_pool_str2282[sizeof("dash")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38789: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 uniname2ctype_pool_str2285[sizeof("othernumber")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38790: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 uniname2ctype_pool_str2294[sizeof("orya")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38791: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 uniname2ctype_pool_str2302[sizeof("invedicextensions")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38792: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 uniname2ctype_pool_str2305[sizeof("sgnw")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38793: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 uniname2ctype_pool_str2312[sizeof("caucasianalbanian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38794: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 uniname2ctype_pool_str2315[sizeof("inmathematicalalphanumericsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38795: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 uniname2ctype_pool_str2321[sizeof("inphoneticextensionssupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38796: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 uniname2ctype_pool_str2339[sizeof("invariationselectorssupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38797: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 uniname2ctype_pool_str2343[sizeof("induployan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38798: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 uniname2ctype_pool_str2344[sizeof("syriac")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38799: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 uniname2ctype_pool_str2357[sizeof("oalpha")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38800: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 uniname2ctype_pool_str2361[sizeof("innyiakengpuachuehmong")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38801: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 uniname2ctype_pool_str2364[sizeof("incombiningdiacriticalmarks")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38802: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 uniname2ctype_pool_str2365[sizeof("inethiopicextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38803: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 uniname2ctype_pool_str2373[sizeof("nl")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38804: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 uniname2ctype_pool_str2374[sizeof("incombiningdiacriticalmarksforsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38805: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 uniname2ctype_pool_str2375[sizeof("khudawadi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38806: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 uniname2ctype_pool_str2378[sizeof("otheralphabetic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38807: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 uniname2ctype_pool_str2389[sizeof("oldhungarian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38808: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 uniname2ctype_pool_str2396[sizeof("incurrencysymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38809: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 uniname2ctype_pool_str2397[sizeof("incjkradicalssupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38810: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 uniname2ctype_pool_str2398[sizeof("inglagolitic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38811: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 uniname2ctype_pool_str2415[sizeof("intifinagh")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38812: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 uniname2ctype_pool_str2416[sizeof("ingeorgianextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38813: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 uniname2ctype_pool_str2427[sizeof("surrogate")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38814: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 uniname2ctype_pool_str2433[sizeof("incyrillicextendedb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38815: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 uniname2ctype_pool_str2440[sizeof("ethi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38816: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 uniname2ctype_pool_str2451[sizeof("titlecaseletter")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38817: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 uniname2ctype_pool_str2454[sizeof("rohg")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38818: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 uniname2ctype_pool_str2458[sizeof("inmeroiticcursive")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38819: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 uniname2ctype_pool_str2460[sizeof("idstrinaryoperator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38820: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 uniname2ctype_pool_str2470[sizeof("inphagspa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38821: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 uniname2ctype_pool_str2475[sizeof("lepcha")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38822: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 uniname2ctype_pool_str2479[sizeof("intagalog")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38823: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 uniname2ctype_pool_str2480[sizeof("mathsymbol")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38824: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 uniname2ctype_pool_str2481[sizeof("incombiningdiacriticalmarkssupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38825: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 uniname2ctype_pool_str2506[sizeof("inbrahmi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38826: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 uniname2ctype_pool_str2513[sizeof("insymbolsandpictographsextendeda")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38827: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 uniname2ctype_pool_str2519[sizeof("inlinearbsyllabary")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38828: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 uniname2ctype_pool_str2529[sizeof("oldturkic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38829: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 uniname2ctype_pool_str2534[sizeof("inbengali")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38830: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 uniname2ctype_pool_str2540[sizeof("wancho")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38831: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 uniname2ctype_pool_str2542[sizeof("osmanya")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38832: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 uniname2ctype_pool_str2548[sizeof("buhd")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38833: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 uniname2ctype_pool_str2552[sizeof("insmallformvariants")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38834: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 uniname2ctype_pool_str2561[sizeof("indevanagariextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38835: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 uniname2ctype_pool_str2562[sizeof("softdotted")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38836: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 uniname2ctype_pool_str2564[sizeof("inbuginese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38837: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 uniname2ctype_pool_str2566[sizeof("mahj")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38838: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 uniname2ctype_pool_str2567[sizeof("inlatin1supplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38839: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 uniname2ctype_pool_str2570[sizeof("ingothic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38840: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 uniname2ctype_pool_str2575[sizeof("mahajani")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38841: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 uniname2ctype_pool_str2576[sizeof("hang")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38842: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 uniname2ctype_pool_str2579[sizeof("sylo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38843: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 uniname2ctype_pool_str2586[sizeof("warangciti")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38844: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 uniname2ctype_pool_str2595[sizeof("ingujarati")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38845: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 uniname2ctype_pool_str2603[sizeof("tirhuta")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38846: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 uniname2ctype_pool_str2606[sizeof("incombiningdiacriticalmarksextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38847: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 uniname2ctype_pool_str2609[sizeof("spaceseparator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38848: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 uniname2ctype_pool_str2614[sizeof("ingunjalagondi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38849: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 uniname2ctype_pool_str2624[sizeof("wcho")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38850: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 uniname2ctype_pool_str2631[sizeof("hiragana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38851: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 uniname2ctype_pool_str2634[sizeof("extendedpictographic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38852: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 uniname2ctype_pool_str2643[sizeof("inrejang")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38853: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 uniname2ctype_pool_str2644[sizeof("inottomansiyaqnumbers")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38854: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 uniname2ctype_pool_str2648[sizeof("nchar")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38855: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 uniname2ctype_pool_str2650[sizeof("cyrillic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38856: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 uniname2ctype_pool_str2653[sizeof("khoj")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38857: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 uniname2ctype_pool_str2656[sizeof("inlimbu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38858: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 uniname2ctype_pool_str2663[sizeof("hmng")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38859: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 uniname2ctype_pool_str2665[sizeof("thaa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38860: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 uniname2ctype_pool_str2668[sizeof("thai")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38861: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 uniname2ctype_pool_str2670[sizeof("incjkunifiedideographsextensionb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38862: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 uniname2ctype_pool_str2673[sizeof("deva")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38863: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 uniname2ctype_pool_str2676[sizeof("thaana")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38864: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 uniname2ctype_pool_str2688[sizeof("phagspa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38865: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 uniname2ctype_pool_str2691[sizeof("devanagari")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38866: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 uniname2ctype_pool_str2692[sizeof("tang")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38867: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 uniname2ctype_pool_str2694[sizeof("currencysymbol")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38868: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 uniname2ctype_pool_str2698[sizeof("tagbanwa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38869: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 uniname2ctype_pool_str2701[sizeof("inenclosedcjklettersandmonths")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38870: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 uniname2ctype_pool_str2702[sizeof("tamil")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38871: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 uniname2ctype_pool_str2721[sizeof("tirh")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38872: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 uniname2ctype_pool_str2723[sizeof("digit")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38873: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 uniname2ctype_pool_str2732[sizeof("talu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38874: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 uniname2ctype_pool_str2747[sizeof("zp")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38875: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 uniname2ctype_pool_str2750[sizeof("inpaucinhau")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38876: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 uniname2ctype_pool_str2760[sizeof("taitham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38877: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 uniname2ctype_pool_str2764[sizeof("otherlowercase")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38878: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 uniname2ctype_pool_str2768[sizeof("telu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38879: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 uniname2ctype_pool_str2769[sizeof("inaegeannumbers")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38880: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 uniname2ctype_pool_str2777[sizeof("otherletter")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38881: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 uniname2ctype_pool_str2780[sizeof("whitespace")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38882: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 uniname2ctype_pool_str2793[sizeof("nonspacingmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38883: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 uniname2ctype_pool_str2816[sizeof("graphemeclusterbreak=spacingmark")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38884: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 uniname2ctype_pool_str2821[sizeof("inletterlikesymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38885: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 uniname2ctype_pool_str2834[sizeof("intagbanwa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38886: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 uniname2ctype_pool_str2841[sizeof("oldsogdian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38887: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 uniname2ctype_pool_str2848[sizeof("otheridstart")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38888: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 uniname2ctype_pool_str2852[sizeof("graphemeclusterbreak=cr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38889: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 uniname2ctype_pool_str2855[sizeof("narb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38890: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 uniname2ctype_pool_str2856[sizeof("changeswhencasemapped")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38891: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 uniname2ctype_pool_str2859[sizeof("inbopomofo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38892: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 uniname2ctype_pool_str2862[sizeof("tangut")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38893: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 uniname2ctype_pool_str2867[sizeof("graphemeclusterbreak=regionalindicator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38894: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 uniname2ctype_pool_str2871[sizeof("noncharactercodepoint")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38895: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 uniname2ctype_pool_str2883[sizeof("otheruppercase")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38896: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 uniname2ctype_pool_str2885[sizeof("rjng")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38897: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 uniname2ctype_pool_str2886[sizeof("sylotinagri")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38898: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 uniname2ctype_pool_str2904[sizeof("inhangulsyllables")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38899: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 uniname2ctype_pool_str2905[sizeof("emojipresentation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38900: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 uniname2ctype_pool_str2906[sizeof("inindicsiyaqnumbers")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38901: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 uniname2ctype_pool_str2909[sizeof("inbassavah")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38902: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 uniname2ctype_pool_str2912[sizeof("ogrext")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38903: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 uniname2ctype_pool_str2926[sizeof("othersymbol")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38904: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 uniname2ctype_pool_str2938[sizeof("oupper")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38905: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 uniname2ctype_pool_str2941[sizeof("inbuhid")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38906: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 uniname2ctype_pool_str2963[sizeof("hmnp")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38907: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 uniname2ctype_pool_str2964[sizeof("inpsalterpahlavi")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38908: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 uniname2ctype_pool_str2967[sizeof("finalpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38909: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 uniname2ctype_pool_str2980[sizeof("phlp")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38910: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 uniname2ctype_pool_str2984[sizeof("inbamumsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38911: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 uniname2ctype_pool_str2986[sizeof("buhid")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38912: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 uniname2ctype_pool_str2987[sizeof("paragraphseparator")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38913: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 uniname2ctype_pool_str2988[sizeof("inalphabeticpresentationforms")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38914: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 uniname2ctype_pool_str2993[sizeof("omath")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38915: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 uniname2ctype_pool_str3000[sizeof("any")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38916: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 uniname2ctype_pool_str3001[sizeof("elba")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38917: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 uniname2ctype_pool_str3002[sizeof("changeswhentitlecased")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38918: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 uniname2ctype_pool_str3005[sizeof("incombininghalfmarks")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38919: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 uniname2ctype_pool_str3006[sizeof("intangutcomponents")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38920: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 uniname2ctype_pool_str3012[sizeof("hebr")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38921: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 uniname2ctype_pool_str3028[sizeof("deprecated")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38922: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 uniname2ctype_pool_str3045[sizeof("inarabicmathematicalalphabeticsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38923: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 uniname2ctype_pool_str3055[sizeof("inprivateusearea")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38924: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 uniname2ctype_pool_str3089[sizeof("kayahli")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38925: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 uniname2ctype_pool_str3098[sizeof("inplayingcards")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38926: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 uniname2ctype_pool_str3099[sizeof("inarabicpresentationformsb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38927: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 uniname2ctype_pool_str3100[sizeof("ogham")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38928: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 uniname2ctype_pool_str3101[sizeof("elym")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38929: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 uniname2ctype_pool_str3107[sizeof("graphemeclusterbreak=t")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38930: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 uniname2ctype_pool_str3109[sizeof("graphemeclusterbreak=lvt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38931: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 uniname2ctype_pool_str3111[sizeof("nbat")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38932: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 uniname2ctype_pool_str3125[sizeof("nabataean")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38933: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 uniname2ctype_pool_str3126[sizeof("hangul")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38934: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 uniname2ctype_pool_str3134[sizeof("elymaic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38935: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 uniname2ctype_pool_str3158[sizeof("inhebrew")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38936: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 uniname2ctype_pool_str3165[sizeof("injavanese")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38937: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 uniname2ctype_pool_str3169[sizeof("symbol")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38938: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 uniname2ctype_pool_str3176[sizeof("inmathematicaloperators")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38939: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 uniname2ctype_pool_str3180[sizeof("inarabicsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38940: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 uniname2ctype_pool_str3185[sizeof("cypriot")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38941: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 uniname2ctype_pool_str3194[sizeof("hung")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38942: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 uniname2ctype_pool_str3205[sizeof("wspace")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38943: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 uniname2ctype_pool_str3209[sizeof("changeswhenlowercased")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38944: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 uniname2ctype_pool_str3215[sizeof("elbasan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38945: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 uniname2ctype_pool_str3218[sizeof("hluw")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38946: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 uniname2ctype_pool_str3237[sizeof("insuperscriptsandsubscripts")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38947: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 uniname2ctype_pool_str3239[sizeof("graphemeclusterbreak=extend")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38948: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 uniname2ctype_pool_str3240[sizeof("graphemeclusterbreak=prepend")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38949: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 uniname2ctype_pool_str3248[sizeof("nshu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38950: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 uniname2ctype_pool_str3254[sizeof("oldnortharabian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38951: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 uniname2ctype_pool_str3266[sizeof("inyijinghexagramsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38952: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 uniname2ctype_pool_str3286[sizeof("hexdigit")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38953: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 uniname2ctype_pool_str3297[sizeof("graphemeclusterbreak=l")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38954: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 uniname2ctype_pool_str3303[sizeof("graphemeclusterbreak=control")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38955: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 uniname2ctype_pool_str3309[sizeof("bassavah")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38956: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 uniname2ctype_pool_str3317[sizeof("otherdefaultignorablecodepoint")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38957: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 uniname2ctype_pool_str3328[sizeof("changeswhenuppercased")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38958: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 uniname2ctype_pool_str3329[sizeof("inalchemicalsymbols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38959: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 uniname2ctype_pool_str3348[sizeof("insupplementalarrowsa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38960: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 uniname2ctype_pool_str3349[sizeof("inyisyllables")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38961: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 uniname2ctype_pool_str3351[sizeof("tibt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38962: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 uniname2ctype_pool_str3360[sizeof("othermath")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38963: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 uniname2ctype_pool_str3363[sizeof("tibetan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38964: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 uniname2ctype_pool_str3365[sizeof("inmahjongtiles")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38965: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 uniname2ctype_pool_str3433[sizeof("signwriting")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38966: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 uniname2ctype_pool_str3436[sizeof("nushu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38967: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 uniname2ctype_pool_str3439[sizeof("modifiersymbol")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38968: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 uniname2ctype_pool_str3442[sizeof("inhalfwidthandfullwidthforms")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38969: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 uniname2ctype_pool_str3458[sizeof("upper")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38970: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 uniname2ctype_pool_str3460[sizeof("insupplementalarrowsc")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38971: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 uniname2ctype_pool_str3511[sizeof("insupplementalmathematicaloperators")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38972: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 uniname2ctype_pool_str3512[sizeof("incypriotsyllabary")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38973: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 uniname2ctype_pool_str3517[sizeof("dupl")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38974: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 uniname2ctype_pool_str3531[sizeof("tavt")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38975: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 uniname2ctype_pool_str3532[sizeof("inpahawhhmong")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38976: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 uniname2ctype_pool_str3533[sizeof("alphabetic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38977: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 uniname2ctype_pool_str3550[sizeof("dashpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38978: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 uniname2ctype_pool_str3558[sizeof("uppercase")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38979: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 uniname2ctype_pool_str3613[sizeof("soyombo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38980: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 uniname2ctype_pool_str3614[sizeof("hanifirohingya")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38981: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 uniname2ctype_pool_str3616[sizeof("otherpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38982: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 uniname2ctype_pool_str3628[sizeof("defaultignorablecodepoint")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38983: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 uniname2ctype_pool_str3648[sizeof("inhanguljamoextendedb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38984: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 uniname2ctype_pool_str3664[sizeof("aghb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38985: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 uniname2ctype_pool_str3703[sizeof("tifinagh")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38986: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 uniname2ctype_pool_str3705[sizeof("inlatinextendedb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38987: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 uniname2ctype_pool_str3714[sizeof("tfng")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38988: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 uniname2ctype_pool_str3766[sizeof("inhighprivateusesurrogates")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38989: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 uniname2ctype_pool_str3791[sizeof("changeswhencasefolded")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38990: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 uniname2ctype_pool_str3805[sizeof("dep")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38991: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 uniname2ctype_pool_str3819[sizeof("oldsoutharabian")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38992: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 uniname2ctype_pool_str3821[sizeof("graphemeclusterbreak=lf")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38993: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 uniname2ctype_pool_str3842[sizeof("pahawhhmong")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38994: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 uniname2ctype_pool_str3845[sizeof("unifiedideograph")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38995: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 uniname2ctype_pool_str3891[sizeof("uppercaseletter")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38996: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 uniname2ctype_pool_str3924[sizeof("insupplementalpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38997: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 uniname2ctype_pool_str3942[sizeof("ethiopic")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38998: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 uniname2ctype_pool_str3976[sizeof("inglagoliticsupplement")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:38999: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 uniname2ctype_pool_str3995[sizeof("rejang")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39000: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 uniname2ctype_pool_str4087[sizeof("inbopomofoextended")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39001: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 uniname2ctype_pool_str4109[sizeof("tagb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39002: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 uniname2ctype_pool_str4137[sizeof("othergraphemeextend")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39003: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 uniname2ctype_pool_str4162[sizeof("inegyptianhieroglyphs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39004: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 uniname2ctype_pool_str4175[sizeof("inegyptianhieroglyphformatcontrols")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39005: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 uniname2ctype_pool_str4203[sizeof("hebrew")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39006: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 uniname2ctype_pool_str4254[sizeof("tglg")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39007: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 uniname2ctype_pool_str4276[sizeof("tagalog")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39008: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 uniname2ctype_pool_str4291[sizeof("graphemeclusterbreak=zwj")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39009: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 uniname2ctype_pool_str4321[sizeof("zyyy")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39010: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 uniname2ctype_pool_str4360[sizeof("hyphen")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39011: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 uniname2ctype_pool_str4397[sizeof("inboxdrawing")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39012: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 uniname2ctype_pool_str4405[sizeof("graphemeclusterbreak=v")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39013: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 uniname2ctype_pool_str4406[sizeof("graphemeclusterbreak=lv")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39014: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 uniname2ctype_pool_str4460[sizeof("telugu")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39015: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 uniname2ctype_pool_str4485[sizeof("duployan")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39016: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 uniname2ctype_pool_str4528[sizeof("openpunctuation")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39017: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 uniname2ctype_pool_str4674[sizeof("insupplementaryprivateuseareaa")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39018: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 uniname2ctype_pool_str4683[sizeof("inhighsurrogates")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39019: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 uniname2ctype_pool_str4772[sizeof("insupplementalarrowsb")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39020: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 uniname2ctype_pool_str4948[sizeof("insupplementalsymbolsandpictographs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39021: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 uniname2ctype_pool_str4955[sizeof("egyp")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39022: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 uniname2ctype_pool_str4986[sizeof("inhangulcompatibilityjamo")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39023: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 uniname2ctype_pool_str5114[sizeof("nyiakengpuachuehmong")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39024: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 uniname2ctype_pool_str5608[sizeof("egyptianhieroglyphs")]; data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:39025: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 uniname2ctype_pool_str6098[sizeof("insupplementaryprivateuseareab")]; data/ruby3.0-3.0.0~preview1/encoding.c:729: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[ENCODING_NAMELEN_MAX+1]; data/ruby3.0-3.0.0~preview1/encoding.c:732:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, name, len); data/ruby3.0-3.0.0~preview1/enum.c:1485: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(tmp, GETPTR(i), sizeof(VALUE)*eltsize); \ data/ruby3.0-3.0.0~preview1/enum.c:1486: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(GETPTR(i), GETPTR(j), sizeof(VALUE)*eltsize); \ data/ruby3.0-3.0.0~preview1/enum.c:1487: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(GETPTR(j), tmp, sizeof(VALUE)*eltsize); \ data/ruby3.0-3.0.0~preview1/error.c:527: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[REPORT_BUG_BUFSIZ]; data/ruby3.0-3.0.0~preview1/error.c:616: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[REPORT_BUG_BUFSIZ]; data/ruby3.0-3.0.0~preview1/error.c:2103:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[8]; /* some Windows' errno have 5 digits. */ data/ruby3.0-3.0.0~preview1/eval_error.c:94:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[5]; data/ruby3.0-3.0.0~preview1/eval_error.c:335:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[sizeof(traceback)+sizeof(bold)+sizeof(reset)-2], *p = buff; data/ruby3.0-3.0.0~preview1/eval_error.c:339:23: [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 APPEND(s, l) (memcpy(p, s, l), p += (l)) data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:6: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:7: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, "%d", NUM2SHORT(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:14: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:15: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, "%u", NUM2USHORT(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:22: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:23: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, "%d", NUM2INT(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:30: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:31: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, "%u", NUM2UINT(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:38: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:39: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, "%ld", NUM2LONG(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:46:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:47: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, "%lu", NUM2ULONG(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:55: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:56: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, "%"PRI_LL_PREFIX"d", NUM2LL(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:63: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:64: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, "%"PRI_LL_PREFIX"u", NUM2ULL(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:72: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:73: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, "%d", FIX2SHORT(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:80: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:81: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, "%d", FIX2INT(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:88:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:89: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, "%u", FIX2UINT(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:96: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:97: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, "%ld", FIX2LONG(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:104: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[128]; data/ruby3.0-3.0.0~preview1/ext/-test-/num2int/num2int.c:105: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, "%lu", FIX2ULONG(num)); data/ruby3.0-3.0.0~preview1/ext/-test-/printf/printf.c:38: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 format[sizeof(int) * 6 + 8], *p = format, cnv; data/ruby3.0-3.0.0~preview1/ext/-test-/string/cstr.c:114:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, RSTRING_PTR(str), capacity); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:248: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 szD[128]; data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:298: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(szD, "%ld", FIX2LONG(v)); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:426: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(psz, "%"PRIuSIZE":", VpMaxPrec(vp)*VpBaseFig()); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:3172:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[DECIMAL_SIZE_OF_BITS(SIZEOF_VALUE * CHAR_BIT) + 4]; data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:4399: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(c->frac, a->frac, n * sizeof(BDIGIT)); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5532:7: [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(psz, "%lu", (unsigned long)nn); /* The leading zero(s) */ data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5546:22: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf(psz, "-0"); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5575:27: [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. if (fPlus == 1) sprintf(psz, " 0.0"); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5576:27: [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. else if (fPlus == 2) sprintf(psz, "+0.0"); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5577:27: [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. else sprintf(psz, "0.0"); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5579:27: [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. else sprintf(psz, "-0.0"); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5611: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(psz, "%lu", (unsigned long)nn); /* The reading zero(s) */ data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5662:6: [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(psz, "%lu", (unsigned long)a->frac[i]); data/ruby3.0-3.0.0~preview1/ext/cgi/escape/escape.c:18:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[HTML_ESCAPE_MAX_LEN+1]; data/ruby3.0-3.0.0~preview1/ext/cgi/escape/escape.c:48:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dest, html_escape_table[c].str, len); data/ruby3.0-3.0.0~preview1/ext/cgi/escape/escape.c:80: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[6]; data/ruby3.0-3.0.0~preview1/ext/cgi/escape/escape.c:198: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[4] = {'%'}; data/ruby3.0-3.0.0~preview1/ext/cgi/escape/escape.c:247:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1]; data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:6529: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 flags[6]; data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:6737:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[SMALLBUF], *buf = buffer; data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:6971:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[SMALLBUF], *buf = buffer; data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:7103: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[JISX0301_DATE_SIZE]; data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:8452: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 fmt[sizeof(timefmt) + sizeof(zone) + rb_strlen_lit(".%N") + data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:8456:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, timefmt, sizeof(timefmt)-1); data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:8459:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, zone, sizeof(zone)); data/ruby3.0-3.0.0~preview1/ext/date/date_parse.c:183: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(buf, bp, ep - bp); data/ruby3.0-3.0.0~preview1/ext/date/date_parse.c:212: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(buf, bp, ep - bp); data/ruby3.0-3.0.0~preview1/ext/date/date_parse.c:238: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(buf, bp, ep - bp); data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c:57:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. auto char tbuf[100]; data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c:605: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(s, tp, i); data/ruby3.0-3.0.0~preview1/ext/date/date_strptime.c:111: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(s2, s, l); data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:52:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char gperf_downcase[256] = data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:168: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 stringpool_str2[sizeof("o")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:169: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 stringpool_str3[sizeof("x")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:170: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 stringpool_str4[sizeof("z")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:171: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 stringpool_str5[sizeof("q")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:172: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 stringpool_str8[sizeof("omst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:173: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 stringpool_str9[sizeof("omsst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:174: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 stringpool_str10[sizeof("p")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:175: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 stringpool_str13[sizeof("a")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:176: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 stringpool_str14[sizeof("e")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:177: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 stringpool_str15[sizeof("pet")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:178: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 stringpool_str16[sizeof("pmst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:179: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 stringpool_str17[sizeof("pett")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:180: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 stringpool_str18[sizeof("petst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:181: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 stringpool_str19[sizeof("eet")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:182: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 stringpool_str20[sizeof("aest")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:183: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 stringpool_str21[sizeof("eest")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:184: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 stringpool_str22[sizeof("eat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:185: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 stringpool_str24[sizeof("east")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:186: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 stringpool_str25[sizeof("easst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:187:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str26[sizeof("pst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:188: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 stringpool_str27[sizeof("eastern")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:189: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 stringpool_str28[sizeof("m")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:190: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 stringpool_str29[sizeof("ast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:191: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 stringpool_str30[sizeof("est")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:192:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str31[sizeof("c")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:193:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str32[sizeof("mmt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:194: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 stringpool_str33[sizeof("met")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:195: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 stringpool_str35[sizeof("mest")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:196: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 stringpool_str36[sizeof("cet")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:197:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str37[sizeof("d")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:198: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 stringpool_str38[sizeof("cest")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:199: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 stringpool_str39[sizeof("cat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:200: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 stringpool_str41[sizeof("cast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:201: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 stringpool_str42[sizeof("magt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:202: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 stringpool_str43[sizeof("magst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:203: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 stringpool_str44[sizeof("mst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:204: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 stringpool_str45[sizeof("msk")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:205: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 stringpool_str46[sizeof("cot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:206: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 stringpool_str47[sizeof("cst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:207: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 stringpool_str48[sizeof("aqtt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:208: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 stringpool_str49[sizeof("f")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:209: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 stringpool_str52[sizeof("art")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:210: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 stringpool_str53[sizeof("fnt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:211: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 stringpool_str54[sizeof("fet")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:212:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str55[sizeof("b")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:213: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 stringpool_str57[sizeof("anat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:214: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 stringpool_str58[sizeof("anast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:215: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 stringpool_str59[sizeof("bnt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:216: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 stringpool_str60[sizeof("i")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:217:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str61[sizeof("pht")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:218:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str62[sizeof("at")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:219: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 stringpool_str63[sizeof("zp6")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:220: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 stringpool_str64[sizeof("mewt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:221: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 stringpool_str65[sizeof("fst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:222: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 stringpool_str66[sizeof("ahst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:223:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str67[sizeof("mawt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:224: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 stringpool_str68[sizeof("zp5")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:225: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 stringpool_str70[sizeof("bot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:226: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 stringpool_str71[sizeof("bst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:227: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 stringpool_str72[sizeof("pwt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:228: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 stringpool_str74[sizeof("pont")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:229: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 stringpool_str75[sizeof("iot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:230:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str76[sizeof("ist")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:231: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 stringpool_str77[sizeof("awst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:232: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 stringpool_str79[sizeof("mht")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:233: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 stringpool_str80[sizeof("mez")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:234: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 stringpool_str81[sizeof("orat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:235: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 stringpool_str82[sizeof("mesz")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:236: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 stringpool_str84[sizeof("chst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:237: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 stringpool_str85[sizeof("pmdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:238: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 stringpool_str88[sizeof("central")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:239: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 stringpool_str89[sizeof("aedt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:240: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 stringpool_str90[sizeof("act")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:241: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 stringpool_str91[sizeof("ect")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:242: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 stringpool_str92[sizeof("acst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:243: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 stringpool_str93[sizeof("eadt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:244: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 stringpool_str94[sizeof("brt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:245: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 stringpool_str95[sizeof("chut")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:246: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 stringpool_str96[sizeof("brst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:247: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 stringpool_str97[sizeof("cen. australia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:248: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 stringpool_str100[sizeof("davt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:249: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 stringpool_str101[sizeof("irst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:250: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 stringpool_str102[sizeof("irkt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:251: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 stringpool_str103[sizeof("irkst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:252:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str104[sizeof("bt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:253: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 stringpool_str105[sizeof("n")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:254:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str106[sizeof("btt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:255: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 stringpool_str107[sizeof("mountain")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:256: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 stringpool_str108[sizeof("cct")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:257: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 stringpool_str109[sizeof("w")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:258:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str110[sizeof("l")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:259:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str111[sizeof("fwt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:260: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 stringpool_str113[sizeof("msd")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:261: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 stringpool_str114[sizeof("wet")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:262: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 stringpool_str116[sizeof("west")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:263: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 stringpool_str117[sizeof("wat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:264: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 stringpool_str119[sizeof("wast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:265: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 stringpool_str120[sizeof("wakt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:266: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 stringpool_str121[sizeof("nst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:267: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 stringpool_str122[sizeof("acwst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:268: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 stringpool_str123[sizeof("chast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:269:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str124[sizeof("cist")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:270: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 stringpool_str125[sizeof("azt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:271: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 stringpool_str126[sizeof("clt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:272: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 stringpool_str127[sizeof("azst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:273: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 stringpool_str128[sizeof("clst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:274: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 stringpool_str129[sizeof("mart")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:275: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 stringpool_str130[sizeof("zp4")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:276: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 stringpool_str131[sizeof("jst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:277: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 stringpool_str132[sizeof("central asia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:278: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 stringpool_str133[sizeof("aft")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:279: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 stringpool_str134[sizeof("e. south america")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:280:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str135[sizeof("central america")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:281: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 stringpool_str137[sizeof("ict")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:282: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 stringpool_str143[sizeof("pgt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:283: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 stringpool_str144[sizeof("nrt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:284: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 stringpool_str145[sizeof("mexico")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:285: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 stringpool_str146[sizeof("awdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:286: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 stringpool_str147[sizeof("egt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:287: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 stringpool_str148[sizeof("cxt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:288: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 stringpool_str149[sizeof("egst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:289: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 stringpool_str150[sizeof("phot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:290: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 stringpool_str151[sizeof("alaskan")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:291: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 stringpool_str154[sizeof("nt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:292: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 stringpool_str158[sizeof("wt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:293: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 stringpool_str160[sizeof("west asia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:294: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 stringpool_str161[sizeof("acdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:295: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 stringpool_str162[sizeof("npt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:296: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 stringpool_str163[sizeof("lhst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:297: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 stringpool_str164[sizeof("afghanistan")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:298: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 stringpool_str167[sizeof("k")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:299:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str169[sizeof("g")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:300: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 stringpool_str170[sizeof("irdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:301: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 stringpool_str171[sizeof("chot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:302: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 stringpool_str172[sizeof("chost")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:303: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 stringpool_str173[sizeof("gmt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:304: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 stringpool_str174[sizeof("get")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:305:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str175[sizeof("novt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:306:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str176[sizeof("novst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:307:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str177[sizeof("fjt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:308: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 stringpool_str178[sizeof("u")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:309: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 stringpool_str179[sizeof("fjst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:310:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str181[sizeof("pyst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:311:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str182[sizeof("nct")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:312: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 stringpool_str183[sizeof("kst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:313:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str184[sizeof("kost")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:314: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 stringpool_str185[sizeof("gst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:315:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str186[sizeof("iran")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:316: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 stringpool_str187[sizeof("e. africa")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:317: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 stringpool_str188[sizeof("wadt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:318:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str189[sizeof("t")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:319: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 stringpool_str190[sizeof("e. australia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:320: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 stringpool_str191[sizeof("s")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:321: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 stringpool_str192[sizeof("chadt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:322: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 stringpool_str193[sizeof("tmt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:323: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 stringpool_str194[sizeof("cidst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:324: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 stringpool_str195[sizeof("aoe")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:325: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 stringpool_str197[sizeof("myt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:326: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 stringpool_str198[sizeof("west pacific")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:327:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str199[sizeof("mut")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:328: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 stringpool_str200[sizeof("wit")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:329: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 stringpool_str201[sizeof("sast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:330: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 stringpool_str202[sizeof("sakt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:331:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str203[sizeof("new zealand")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:332:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str204[sizeof("tot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:333:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str205[sizeof("china")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:334: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 stringpool_str206[sizeof("tost")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:335: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 stringpool_str207[sizeof("sst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:336: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 stringpool_str209[sizeof("india")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:337: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 stringpool_str211[sizeof("warst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:338: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 stringpool_str212[sizeof("sbt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:339: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 stringpool_str214[sizeof("azot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:340: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 stringpool_str215[sizeof("azost")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:341:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str216[sizeof("taht")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:342: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 stringpool_str217[sizeof("nzt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:343: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 stringpool_str218[sizeof("dateline")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:344: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 stringpool_str219[sizeof("nzst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:345: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 stringpool_str220[sizeof("tokyo")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:346: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 stringpool_str221[sizeof("central pacific")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:347: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 stringpool_str223[sizeof("qyzt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:348: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 stringpool_str224[sizeof("atlantic")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:349: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 stringpool_str225[sizeof("nft")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:350: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 stringpool_str227[sizeof("ut")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:351: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 stringpool_str228[sizeof("trt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:352: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 stringpool_str229[sizeof("wft")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:353: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 stringpool_str230[sizeof("srt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:354: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 stringpool_str231[sizeof("pdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:355: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 stringpool_str232[sizeof("lhdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:356: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 stringpool_str234[sizeof("adt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:357: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 stringpool_str235[sizeof("edt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:358: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 stringpool_str238[sizeof("pkt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:359: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 stringpool_str239[sizeof("almt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:360: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 stringpool_str240[sizeof("wita")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:361: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 stringpool_str242[sizeof("wgt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:362: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 stringpool_str243[sizeof("akst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:363: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 stringpool_str244[sizeof("wgst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:364: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 stringpool_str246[sizeof("krat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:365: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 stringpool_str247[sizeof("krast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:366: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 stringpool_str248[sizeof("mid-atlantic")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:367: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 stringpool_str249[sizeof("mdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:368: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 stringpool_str250[sizeof("lint")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:369: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 stringpool_str251[sizeof("malay peninsula")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:370: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 stringpool_str252[sizeof("cdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:371: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 stringpool_str253[sizeof("swt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:372: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 stringpool_str255[sizeof("se asia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:373: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 stringpool_str256[sizeof("v")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:374: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 stringpool_str258[sizeof("tonga")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:375: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 stringpool_str259[sizeof("ckt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:376: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 stringpool_str261[sizeof("vet")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:377: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 stringpool_str262[sizeof("caucasus")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:378: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 stringpool_str263[sizeof("central europe")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:379: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 stringpool_str264[sizeof("h")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:380: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 stringpool_str265[sizeof("central european")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:381: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 stringpool_str266[sizeof("newfoundland")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:382: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 stringpool_str267[sizeof("arab")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:383: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 stringpool_str268[sizeof("sct")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:384: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 stringpool_str269[sizeof("arabic")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:385: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 stringpool_str270[sizeof("arabian")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:386: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 stringpool_str271[sizeof("ddut")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:387: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 stringpool_str273[sizeof("vost")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:388: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 stringpool_str274[sizeof("hast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:389: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 stringpool_str275[sizeof("nepal")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:390: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 stringpool_str276[sizeof("nut")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:391: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 stringpool_str277[sizeof("fkt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:392: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 stringpool_str279[sizeof("fkst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:393: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 stringpool_str280[sizeof("hst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:394: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 stringpool_str281[sizeof("idt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:395: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 stringpool_str284[sizeof("tlt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:396: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 stringpool_str285[sizeof("w. australia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:397: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 stringpool_str286[sizeof("egypt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:398: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 stringpool_str287[sizeof("myanmar")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:399: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 stringpool_str288[sizeof("nzdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:400: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 stringpool_str289[sizeof("gft")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:401: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 stringpool_str290[sizeof("uzt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:402: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 stringpool_str293[sizeof("north asia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:403: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 stringpool_str294[sizeof("mvt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:404: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 stringpool_str295[sizeof("galt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:405: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 stringpool_str296[sizeof("nfdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:406: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 stringpool_str297[sizeof("cvt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:407: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 stringpool_str298[sizeof("north asia east")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:408: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 stringpool_str300[sizeof("kgt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:409: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 stringpool_str301[sizeof("aus central")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:410: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 stringpool_str302[sizeof("pacific")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:411: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 stringpool_str304[sizeof("canada central")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:412: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 stringpool_str306[sizeof("pacific sa")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:413: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 stringpool_str307[sizeof("azores")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:414: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 stringpool_str308[sizeof("gamt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:415:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str309[sizeof("tft")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:416: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 stringpool_str310[sizeof("r")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:417: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 stringpool_str311[sizeof("fle")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:418: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 stringpool_str312[sizeof("akdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:419: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 stringpool_str313[sizeof("ulat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:420: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 stringpool_str314[sizeof("ulast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:421: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 stringpool_str315[sizeof("ret")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:422: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 stringpool_str317[sizeof("tjt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:423: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 stringpool_str319[sizeof("south africa")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:424: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 stringpool_str324[sizeof("sgt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:425: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 stringpool_str326[sizeof("ndt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:426: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 stringpool_str327[sizeof("rott")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:427: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 stringpool_str330[sizeof("samt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:428: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 stringpool_str332[sizeof("tasmania")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:429: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 stringpool_str334[sizeof("hovt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:430: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 stringpool_str335[sizeof("hovst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:431: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 stringpool_str338[sizeof("gyt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:432: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 stringpool_str342[sizeof("y")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:433: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 stringpool_str343[sizeof("hadt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:434: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 stringpool_str344[sizeof("sa western")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:435: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 stringpool_str345[sizeof("hawaiian")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:436: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 stringpool_str347[sizeof("uyt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:437: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 stringpool_str349[sizeof("uyst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:438: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 stringpool_str350[sizeof("yekt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:439: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 stringpool_str351[sizeof("yekst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:440: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 stringpool_str352[sizeof("kuyt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:441:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str353[sizeof("yakt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:442: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 stringpool_str354[sizeof("yakst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:443: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 stringpool_str358[sizeof("yst")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:444:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str359[sizeof("jerusalem")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:445: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 stringpool_str365[sizeof("sri lanka")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:446: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 stringpool_str367[sizeof("yakutsk")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:447: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 stringpool_str375[sizeof("wib")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:448: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 stringpool_str377[sizeof("aus eastern")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:449: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 stringpool_str378[sizeof("gilt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:450: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 stringpool_str387[sizeof("us mountain")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:451: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 stringpool_str391[sizeof("vlat")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:452: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 stringpool_str392[sizeof("vlast")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:453:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str395[sizeof("gtb")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:454: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 stringpool_str398[sizeof("taipei")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:455: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 stringpool_str399[sizeof("sret")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:456: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 stringpool_str408[sizeof("cape verde")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:457: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 stringpool_str417[sizeof("tkt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:458: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 stringpool_str418[sizeof("samoa")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:459: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 stringpool_str421[sizeof("sa pacific")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:460: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 stringpool_str427[sizeof("vut")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:461: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 stringpool_str428[sizeof("idlw")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:462: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 stringpool_str432[sizeof("fiji")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:463: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 stringpool_str435[sizeof("utc")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:464: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 stringpool_str443[sizeof("korea")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:465: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 stringpool_str445[sizeof("e. europe")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:466: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 stringpool_str449[sizeof("syot")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:467: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 stringpool_str452[sizeof("n. central asia")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:468: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 stringpool_str455[sizeof("tvt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:469: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 stringpool_str458[sizeof("w. central africa")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:470: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 stringpool_str466[sizeof("ekaterinburg")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:471: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 stringpool_str468[sizeof("vladivostok")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:472: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 stringpool_str476[sizeof("yapt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:473: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 stringpool_str477[sizeof("us eastern")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:474: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 stringpool_str482[sizeof("sa eastern")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:475: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 stringpool_str485[sizeof("hdt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:476:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str486[sizeof("russian")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:477:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str492[sizeof("hkt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:478: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 stringpool_str497[sizeof("romance")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:479: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 stringpool_str540[sizeof("w. europe")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:480: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 stringpool_str563[sizeof("ydt")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:481: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 stringpool_str566[sizeof("idle")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:482: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 stringpool_str567[sizeof("greenwich")]; data/ruby3.0-3.0.0~preview1/ext/date/zonetab.h:483: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 stringpool_str619[sizeof("greenland")]; data/ruby3.0-3.0.0~preview1/ext/digest/digest.c:646: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(pctx2, pctx1, algo->ctx_size); data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c:66:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char *const test[7*2] = { data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c:81:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hex_output[16*2 + 1]; data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c:89:6: [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(hex_output + di * 2, "%02x", digest[di]); data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c:233: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(xbuf, data, 64); data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c:385: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(pms->buffer + offset, p, copy); data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c:399:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pms->buffer, p, left); data/ruby3.0-3.0.0~preview1/ext/digest/rmd160/rmd160.c:378:23: [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(context->bbuffer + context->buflen, data, nbytes); data/ruby3.0-3.0.0~preview1/ext/digest/rmd160/rmd160.c:385:23: [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(context->bbuffer + context->buflen, data, ofs); data/ruby3.0-3.0.0~preview1/ext/digest/rmd160/rmd160.c:410:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(context->bbuffer, data + (64 * i) + ofs, context->buflen); data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1.c:43:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define memcpy(s, d, l) bcopy((d), (s), (l)) data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1.c:43:26: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define memcpy(s, d, l) bcopy((d), (s), (l)) data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1.c:146:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void)memcpy(block, buffer, 64); data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1.c:233:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void)memcpy(&context->buffer[j], data, (i = 64-j)); data/ruby3.0-3.0.0~preview1/ext/digest/sha1/sha1.c:241:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void)memcpy(&context->buffer[j], &data[i], len - i); data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.c:185:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.c:189:29: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.c:665:54: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char* SHA256_Data(const sha2_byte* data, size_t len, char digest[SHA256_DIGEST_STRING_LENGTH]) { data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.c:998:54: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char* SHA512_Data(const sha2_byte* data, size_t len, char digest[SHA512_DIGEST_STRING_LENGTH]) { data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.c:1074:54: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char* SHA384_Data(const sha2_byte* data, size_t len, char digest[SHA384_DIGEST_STRING_LENGTH]) { data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:676:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:869: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 localbuf[128], *buf = localbuf; data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:8:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int open; data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:40:46: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if( fiddle_handle->ptr && fiddle_handle->open && fiddle_handle->enable_close ){ data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:70:23: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if(fiddle_handle->open) { data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:189:46: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if( fiddle_handle->ptr && fiddle_handle->open && fiddle_handle->enable_close ){ data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:280:26: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if( ! fiddle_handle->open ){ data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:347: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(name_n, name, len); data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:350:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name_n + len, "%d", i); data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:359:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name_n + len, "%d", i); data/ruby3.0-3.0.0~preview1/ext/fiddle/pointer.c:621:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char *)data->ptr + offset, mem, len); data/ruby3.0-3.0.0~preview1/ext/io/console/console.c:514: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[8]; data/ruby3.0-3.0.0~preview1/ext/json/fbuffer/fbuffer.h:164: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[20]; data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.c:56: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 trailingBytesForUTF8[256] = { data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.c:124:55: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static void unicode_escape_to_buffer(FBuffer *buffer, char buf[6], UTF16 data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.c:137: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[6] = { '\\', 'u' }; data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.c:244: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[6] = { '\\', 'u' }; data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.c:326:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(result, ptr, len); data/ruby3.0-3.0.0~preview1/ext/json/generator/generator.h:51:55: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static void unicode_escape_to_buffer(FBuffer *buffer, char buf[6], UTF16 character); data/ruby3.0-3.0.0~preview1/ext/json/parser/parser.c:30:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const signed char digit_values[256] = { data/ruby3.0-3.0.0~preview1/ext/json/parser/parser.c:1433: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[4]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:383:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char stdibuf[IOBUF_SIZE]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:384:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char stdobuf[IOBUF_SIZE]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:470:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char prefix_table[256]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:782:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buf[16]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:783: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, "CP%d", GetACP()); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:791:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buf[16]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:795:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(buf, "Shift_JIS"); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:797:9: [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, "CP%lu", ulCP[0]); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:1639:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char shift_jisx0213_s1a3_table[5][2] ={ { 1, 8}, { 3, 4}, { 5,12}, {13,14}, {15, 0} }; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:4322:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[MIME_BUF_SIZE]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:5054:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[MIMEOUT_BUF_LENGTH+1]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:6395: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. p = (unsigned char *)long_option[i].name; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:6412:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. cp = (unsigned char *)long_option[i].alias; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7043:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fin = fopen((origfname = *argv++), "r")) == NULL) { data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7072:4: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(outfname, "ntXXXXXX"); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7074:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd = open(outfname, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7077:4: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(outfname, ".nkftmpXXXXXX"); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7078:9: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). fd = mkstemp(outfname); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/utf8tbl.h:52:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const unsigned char nfc[NORMALIZATION_TABLE_NFC_LENGTH]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/utf8tbl.h:53:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const unsigned char nfd[NORMALIZATION_TABLE_NFD_LENGTH]; data/ruby3.0-3.0.0~preview1/ext/nkf/nkf.c:80:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char option[256]; data/ruby3.0-3.0.0~preview1/ext/objspace/objspace_dump.c:43:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[BUFFER_CAPACITY]; data/ruby3.0-3.0.0~preview1/ext/objspace/objspace_dump.c:164:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[((sizeof(VALUE) * CHAR_BIT + 3) / 4) + 4]; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl.c:115:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING_PTR(str), ptr, len); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl.c:190:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, RSTRING_PTR(pass), len); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl.c:222:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, RSTRING_PTR(pass), len); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:683:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, RSTRING_PTR(body), body_length); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:695:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, RSTRING_PTR(body), body_length); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_bn.c:80:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bin[sizeof(long)]; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_cipher.c:203:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[EVP_MAX_KEY_LENGTH], *p_key = NULL; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_cipher.c:204:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char iv[EVP_MAX_IV_LENGTH], *p_iv = NULL; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_cipher.c:224:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(iv, RSTRING_PTR(init_v), RSTRING_LEN(init_v)); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_cipher.c:307:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[EVP_MAX_KEY_LENGTH], iv[EVP_MAX_IV_LENGTH], *salt = NULL; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_hmac.c:211:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[EVP_MAX_MD_SIZE]; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_hmac.c:305:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[EVP_MAX_MD_SIZE]; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs7.c:410:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[20]; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs7.c:812: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[4096]; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ssl.c:2326: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 sizer[1], *buf; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ssl.c:2351: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 sizer[1], *buf; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509name.c:343: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 long_name[512]; data/ruby3.0-3.0.0~preview1/ext/psych/psych_parser.c:37:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, str, *read); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:108:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*a_pointer, *b_start, *b_pointer - *b_start); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:264:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer, parser->input.string.current, size); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:426:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(emitter->output.string.buffer data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:435: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(emitter->output.string.buffer data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:854: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(value_copy, value, length); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:1225: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(value_copy, value, length); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:2210: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 indent_hint[2]; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/parser.c:613:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tag, tag_directive->prefix, prefix_len); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/parser.c:614:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tag+prefix_len, tag_suffix, suffix_len); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/scanner.c:2595:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(string.start, head+1, length-1); data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:169:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char SlaveName[DEVICELEN]) data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:176:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errbuf[32]; data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:255:42: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. get_device_once(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg, int fail) data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:354:20: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if((masterfd = open("/dev/ptmx", O_RDWR, 0)) == -1) goto error; data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:386: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 MasterName[DEVICELEN]; data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:442:36: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. getDevice(int *master, int *slave, char SlaveName[DEVICELEN], int nomesg) data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:508: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 slavename[DEVICELEN]; data/ruby3.0-3.0.0~preview1/ext/pty/pty.c:583: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 SlaveName[DEVICELEN]; data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:274:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char ignore_code[2] = {RL_PROMPT_START_IGNORE, RL_PROMPT_END_IGNORE}; data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1298: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[1]; data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1327: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[1]; data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:5711:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:5922:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char yymsgbuf[128]; data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:6373:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[2]; data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:13453:23: [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 tokcopy(p, n) memcpy(tokspace(p, n), (p)->lex.pcur - (n), (n)) data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:19860:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (yyres) memcpy(&yyres[yyn], yyp, bquote); data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:19869:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (yyres) memcpy(yyres + yyn, yyp, bquote); data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:19876:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (yyres) memcpy(yyres + yyn, yyp, 3); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:314:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&tv, RSTRING_PTR(data), sizeof(tv)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:323:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&ts, RSTRING_PTR(data), sizeof(ts)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:337:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&bt, RSTRING_PTR(data), sizeof(bt)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:396: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((char*)&i, RSTRING_PTR(data), sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:502: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(&pktinfo, RSTRING_PTR(data), sizeof(struct in_pktinfo)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:578:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pktinfo_ptr, RSTRING_PTR(data), sizeof(*pktinfo_ptr)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:680:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&fd, RSTRING_PTR(data)+off, sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:698:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&cred, RSTRING_PTR(data), sizeof(struct ucred)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:731:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&cred, RSTRING_PTR(data), sizeof(struct cmsgcred)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:751:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&cred0, RSTRING_PTR(data), SOCKCREDSIZE(0)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:754: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(cred, RSTRING_PTR(data), SOCKCREDSIZE(cred0.sc_ngroups)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:783:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char addrbuf[INET_ADDRSTRLEN]; data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:804:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[INET_ADDRSTRLEN > IFNAMSIZ ? INET_ADDRSTRLEN : IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:835:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char addrbuf[INET6_ADDRSTRLEN], ifbuf[IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:862:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:863:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&tv, RSTRING_PTR(data), sizeof(tv)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:883:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:884:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&ts, RSTRING_PTR(data), sizeof(ts)); data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:907:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/ruby3.0-3.0.0~preview1/ext/socket/ancdata.c:908:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&bt, RSTRING_PTR(data), sizeof(bt)); data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:190: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((ai), pai, sizeof(struct addrinfo));\ data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:197:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p + (afd)->a_off, (addr), (afd)->a_addrlen);\ data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:211:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. return (char *)ai_errlist[ecode]; data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:266: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(pton, &in, sizeof(in)); data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:278:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pton[PTON_MAX]; data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:330: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(pai, hints, sizeof(*pai)); data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:381:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = htons((unsigned short)atoi(servname)); data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:649: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(&in6->s6_addr, &faith_prefix, data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:651: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(&in6->s6_addr + sizeof(struct in_addr), ap, data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:134:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char numserv[512]; data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:135:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char numaddr[512]; data/ruby3.0-3.0.0~preview1/ext/socket/ipsocket.c:230:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hbuf[1024], pbuf[1024]; data/ruby3.0-3.0.0~preview1/ext/socket/ipsocket.c:377: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(&addr, res->ai->ai_addr, len); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:265: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((char*)&i, RSTRING_PTR(data), sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:316: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((char*)&i, RSTRING_PTR(data), len); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:369: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((char*)&l, RSTRING_PTR(data), sizeof(struct linger)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:490:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:519:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:535:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&i, RSTRING_PTR(data), sizeof(unsigned int)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:551:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:573:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&i, RSTRING_PTR(data), sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:592:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:673: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 ifbuf[IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/ext/socket/option.c:692:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char addrbuf[INET_ADDRSTRLEN]; data/ruby3.0-3.0.0~preview1/ext/socket/option.c:693:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:716:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char addrbuf[INET_ADDRSTRLEN], ifbuf[32+IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/ext/socket/option.c:717:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:757:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char addrbuf[INET_ADDRSTRLEN]; data/ruby3.0-3.0.0~preview1/ext/socket/option.c:758:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:779:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ifbuf[32+IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/ext/socket/option.c:781:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&ifindex, RSTRING_PTR(data), sizeof(unsigned int)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:798:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char addrbuf[INET6_ADDRSTRLEN], ifbuf[32+IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/ext/socket/option.c:799:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:968:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)&s, RSTRING_PTR(data), sizeof(s)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:1152:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&cred, RSTRING_PTR(data), sizeof(RUBY_SOCK_PEERCRED)); data/ruby3.0-3.0.0~preview1/ext/socket/option.c:1170:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&cred, RSTRING_PTR(data), sizeof(struct xucred)); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:115:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (str_is_number(tmp_servname) && atoi(servname) == 0) { data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:248:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ipv4addr[4]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:250:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ipv6addr[16]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:261:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&sa->sin6_addr, ipv6addr, sizeof(ipv6addr)); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:286:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&sa->sin_addr, ipv4addr, sizeof(ipv4addr)); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:473: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 hbuf[1024]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:540:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(hbuf, name, len); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:570:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pbuf, serv, len); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:582: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 hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:611: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 hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:685: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 hbuf[1024], pbuf[1024]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:693:9: [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(pbuf, "unknown:%d", sockaddr->sa_family); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:714:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = INT2FIX(atoi(pbuf)); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:790: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 hbuf[NI_MAXHOST]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:914: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 *)&rai->addr, (void *)sa, len); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1001:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1011:54: [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). else if (RB_TYPE_P(service, T_FIXNUM) && atoi(pbuf) == FIX2INT(service)) data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1112: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*)&un.sun_path, RSTRING_PTR(path), RSTRING_LEN(path)); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1334:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hbuf[1024]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1417:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1712:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1817:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(uaddr.sun_path, RSTRING_PTR(v), RSTRING_LEN(v)); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1819:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&ss, &uaddr, len); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:1837:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&ss, res->ai->ai_addr, res->ai->ai_addrlen); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:2061: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 hbuf[1024], pbuf[1024]; data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:2104:34: [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). rb_ary_store(ret, 1, INT2NUM(atoi(StringValueCStr(portstr)))); data/ruby3.0-3.0.0~preview1/ext/socket/rubysocket.h:211:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char __ss_pad1[_SS_PAD1SIZE]; data/ruby3.0-3.0.0~preview1/ext/socket/rubysocket.h:213:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char __ss_pad2[_SS_PAD2SIZE]; data/ruby3.0-3.0.0~preview1/ext/socket/rubysocket.h:230:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char place_holder[2048]; /* sockaddr_storage is not enough for Unix domain sockets on SunOS and Darwin. */ data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1226: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 hbuf[1024], pbuf[1024]; data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1248: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(&ss, RSTRING_PTR(sa), RSTRING_LEN(sa)); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1327: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 hbuf2[1024], pbuf2[1024]; data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1447: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(sockaddr.sun_path, RSTRING_PTR(path), RSTRING_LEN(path)); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1550: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(&addr6, addr, len); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1616:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&addr6, addr, len); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1681:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(req2.lifr_name, req->lifr_name, LIFNAMSIZ); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1709: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 initbuf[4096+EXTRA_SPACE]; data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:64: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(sockaddr.sun_path, RSTRING_PTR(path), RSTRING_LEN(path)); data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:239: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[1]; data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:244:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pad[sizeof(struct cmsghdr)+8+sizeof(int)+8]; data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:280: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(CMSG_DATA(&cmsg.hdr), &fd, sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:340: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[1]; data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:352:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pad[sizeof(struct cmsghdr)+8+sizeof(int)+8]; data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:381: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(CMSG_DATA(&cmsg.hdr), &fd, sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/socket/unixsocket.c:454: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(&fd, CMSG_DATA(&cmsg.hdr), sizeof(int)); data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c:61: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 encname[ENCODING_MAXNAMELEN+1]; data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c:70: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(encname, n, len); data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c:209:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char strio_flags_check[(STRIO_READABLE/FMODE_READABLE == STRIO_WRITABLE/FMODE_WRITABLE) * 2 - 1]; data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c:929:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[16]; data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c:1007: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(s + pos, cp, cl); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:64:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char g_lcid_to_check[8 + 1]; data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:639:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CodePageName[MAX_PATH]; data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:759: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 error_code[40]; data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:773:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(error_code, "\n OLE error code:%lX in ", (unsigned long)pExInfo->scode); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:776:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(error_code, "\n OLE error code:%u in ", pExInfo->wCode); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:930:12: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). size = MultiByteToWideChar(cp, 0, pm, len, NULL, 0); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:933:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(cp, 0, pm, len, pw, size); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:1712: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[BUFSIZ + 1]; data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:1841: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 clsid[100]; data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_error.c:13: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 strhr[100]; data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_error.c:14: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(strhr, " HRESULT error code:0x%08x\n ", (unsigned)hr); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_typelib.c:758:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[MAX_PATH + 1]; data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_variant.c:62:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pdest, RSTRING_PTR(val), len); data/ruby3.0-3.0.0~preview1/ext/zlib/zlib.c:2800:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING_PTR(outbuf), RSTRING_PTR(dst), RSTRING_LEN(dst)); data/ruby3.0-3.0.0~preview1/file.c:310: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. static const char invalid[3] = "\xEF\xBF\xBD"; data/ruby3.0-3.0.0~preview1/file.c:3331: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 drive[4]; data/ruby3.0-3.0.0~preview1/file.c:3522:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, (srcptr), (srclen)); \ data/ruby3.0-3.0.0~preview1/file.c:3545:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf = RSTRING_PTR(result), dir, dirlen); data/ruby3.0-3.0.0~preview1/file.c:3683:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, cwdp, dirlen); data/ruby3.0-3.0.0~preview1/file.c:3717:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, b, userlen); data/ruby3.0-3.0.0~preview1/file.c:3744:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, s, 2); data/ruby3.0-3.0.0~preview1/file.c:3941:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char w32buf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/file.c:3990:8: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len = MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, NULL, 0); data/ruby3.0-3.0.0~preview1/file.c:3992:2: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, wstr, len); data/ruby3.0-3.0.0~preview1/gc.c:4362: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(&page->mark_bits[0], &page->uncollectible_bits[0], HEAP_PAGE_BITMAP_SIZE); data/ruby3.0-3.0.0~preview1/gc.c:5835: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 *mark_ticks_categories[MAX_TICKS]; data/ruby3.0-3.0.0~preview1/gc.c:6824:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/ruby3.0-3.0.0~preview1/gc.c:7216:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[0x100]; data/ruby3.0-3.0.0~preview1/gc.c:7696:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buff[0x10]; data/ruby3.0-3.0.0~preview1/gc.c:7706:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char last_gc_status[0x10]; data/ruby3.0-3.0.0~preview1/gc.c:7718:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char current_gc_status[0x10]; data/ruby3.0-3.0.0~preview1/gc.c:7931: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(dest, src, sizeof(RVALUE)); data/ruby3.0-3.0.0~preview1/gc.c:11137: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(&ui, &user_time, sizeof(FILETIME)); data/ruby3.0-3.0.0~preview1/gc.c:11493: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 reason_str[MAJOR_REASON_MAX]; data/ruby3.0-3.0.0~preview1/gc.c:12042:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char obj_info_buffers[OBJ_INFO_BUFFERS_NUM][OBJ_INFO_BUFFERS_SIZE]; data/ruby3.0-3.0.0~preview1/gc.c:12073: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 buff[0x100]; data/ruby3.0-3.0.0~preview1/gc.c:12080: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 buff[0x100]; data/ruby3.0-3.0.0~preview1/golf_prelude.c:19: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 L0[462]; /* 1..18 */ data/ruby3.0-3.0.0~preview1/golf_prelude.c:20: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 L18[485]; /* 19..34 */ data/ruby3.0-3.0.0~preview1/golf_prelude.c:21: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 L34[505]; /* 35..59 */ data/ruby3.0-3.0.0~preview1/golf_prelude.c:22: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 L59[487]; /* 60..96 */ data/ruby3.0-3.0.0~preview1/golf_prelude.c:23: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 L96[493]; /* 97..116 */ data/ruby3.0-3.0.0~preview1/golf_prelude.c:24: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 L116[222]; /* 117..131 */ data/ruby3.0-3.0.0~preview1/hash.c:489:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char b1[0x100], b2[0x100]; data/ruby3.0-3.0.0~preview1/hash.c:716:24: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char fname[256]; data/ruby3.0-3.0.0~preview1/hash.c:721:31: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fp = fopen(fname, "w")) == NULL) rb_bug("fopen"); data/ruby3.0-3.0.0~preview1/hash.c:5218:11: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len = MultiByteToWideChar(CP_UTF8, 0, name, -1, NULL, 0); data/ruby3.0-3.0.0~preview1/hash.c:5221:9: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len2 = MultiByteToWideChar(CP_UTF8, 0, value, -1, NULL, 0); data/ruby3.0-3.0.0~preview1/hash.c:5227:2: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_UTF8, 0, name, -1, wname, len); data/ruby3.0-3.0.0~preview1/hash.c:5228:2: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_UTF8, 0, value, -1, wvalue, len2); data/ruby3.0-3.0.0~preview1/hash.c:5235:2: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_UTF8, 0, name, -1, wname, len); data/ruby3.0-3.0.0~preview1/id.c:37:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char name[3], term; data/ruby3.0-3.0.0~preview1/include/ruby/internal/core/rstring.h:84:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ary[RSTRING_EMBED_LEN_MAX + 1]; data/ruby3.0-3.0.0~preview1/include/ruby/internal/memory.h:129:30: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define MEMCPY(p1,p2,type,n) memcpy((p1), (p2), rbimpl_size_mul_or_raise(sizeof(type), (n))) data/ruby3.0-3.0.0~preview1/include/ruby/internal/memory.h:268:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return memcpy(dest, src, n); data/ruby3.0-3.0.0~preview1/include/ruby/internal/memory.h:274:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #undef memcpy data/ruby3.0-3.0.0~preview1/include/ruby/internal/memory.h:275:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define memcpy ruby_nonempty_memcpy data/ruby3.0-3.0.0~preview1/include/ruby/missing.h:136: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 bytesequence[4]; data/ruby3.0-3.0.0~preview1/include/ruby/onigmo.h:790: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 map[ONIG_CHAR_TABLE_SIZE]; /* used as BM skip or char-map */ data/ruby3.0-3.0.0~preview1/include/ruby/st.h:58:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char st_check_for_sizeof_st_index_t[SIZEOF_VOIDP == (int)sizeof(st_index_t) ? 1 : -1]; data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:152:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define open rb_w32_open data/ruby3.0-3.0.0~preview1/internal/imemo.h:226: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(dst, src, len); data/ruby3.0-3.0.0~preview1/io.c:177:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #undef open data/ruby3.0-3.0.0~preview1/io.c:178:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define open rb_w32_uopen data/ruby3.0-3.0.0~preview1/io.c:324:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). while ((ret = open(pathname, flags, mode)) == -1) { data/ruby3.0-3.0.0~preview1/io.c:1765: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(fptr->wbuf.ptr+offset, iov[i].iov_base, iov[i].iov_len); data/ruby3.0-3.0.0~preview1/io.c:3435: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[1024]; data/ruby3.0-3.0.0~preview1/io.c:4274: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 cbuf[8], *p = cbuf; data/ruby3.0-3.0.0~preview1/io.c:4653:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[1024]; data/ruby3.0-3.0.0~preview1/io.c:5843: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 encname[ENCODING_MAXNAMELEN+1]; data/ruby3.0-3.0.0~preview1/io.c:5869: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(encname, estr, len); data/ruby3.0-3.0.0~preview1/io.c:6622: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[4096], *p, *np, *e; data/ruby3.0-3.0.0~preview1/io.c:6720: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 errmsg[80] = { '\0' }; data/ruby3.0-3.0.0~preview1/io.c:11581: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[1024*16]; data/ruby3.0-3.0.0~preview1/iseq.c:2246:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char argi[0x100]; data/ruby3.0-3.0.0~preview1/iseq.c:2247:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char opti[0x100]; data/ruby3.0-3.0.0~preview1/iseq.h:270: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 buff[FLEX_ARY_LEN]; data/ruby3.0-3.0.0~preview1/lex.c:105: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 stringpool_str8[sizeof("break")]; data/ruby3.0-3.0.0~preview1/lex.c:106: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 stringpool_str9[sizeof("else")]; data/ruby3.0-3.0.0~preview1/lex.c:107: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 stringpool_str10[sizeof("nil")]; data/ruby3.0-3.0.0~preview1/lex.c:108:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str11[sizeof("ensure")]; data/ruby3.0-3.0.0~preview1/lex.c:109: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 stringpool_str12[sizeof("end")]; data/ruby3.0-3.0.0~preview1/lex.c:110: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 stringpool_str13[sizeof("then")]; data/ruby3.0-3.0.0~preview1/lex.c:111: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 stringpool_str14[sizeof("not")]; data/ruby3.0-3.0.0~preview1/lex.c:112: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 stringpool_str15[sizeof("false")]; data/ruby3.0-3.0.0~preview1/lex.c:113: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 stringpool_str16[sizeof("self")]; data/ruby3.0-3.0.0~preview1/lex.c:114: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 stringpool_str17[sizeof("elsif")]; data/ruby3.0-3.0.0~preview1/lex.c:115: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 stringpool_str18[sizeof("rescue")]; data/ruby3.0-3.0.0~preview1/lex.c:116: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 stringpool_str19[sizeof("true")]; data/ruby3.0-3.0.0~preview1/lex.c:117: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 stringpool_str20[sizeof("until")]; data/ruby3.0-3.0.0~preview1/lex.c:118: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 stringpool_str21[sizeof("unless")]; data/ruby3.0-3.0.0~preview1/lex.c:119: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 stringpool_str22[sizeof("return")]; data/ruby3.0-3.0.0~preview1/lex.c:120: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 stringpool_str23[sizeof("def")]; data/ruby3.0-3.0.0~preview1/lex.c:121: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 stringpool_str24[sizeof("and")]; data/ruby3.0-3.0.0~preview1/lex.c:122: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 stringpool_str25[sizeof("do")]; data/ruby3.0-3.0.0~preview1/lex.c:123: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 stringpool_str26[sizeof("yield")]; data/ruby3.0-3.0.0~preview1/lex.c:124:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stringpool_str27[sizeof("for")]; data/ruby3.0-3.0.0~preview1/lex.c:125: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 stringpool_str28[sizeof("undef")]; data/ruby3.0-3.0.0~preview1/lex.c:126: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 stringpool_str29[sizeof("or")]; data/ruby3.0-3.0.0~preview1/lex.c:127: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 stringpool_str30[sizeof("in")]; data/ruby3.0-3.0.0~preview1/lex.c:128: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 stringpool_str31[sizeof("when")]; data/ruby3.0-3.0.0~preview1/lex.c:129: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 stringpool_str32[sizeof("retry")]; data/ruby3.0-3.0.0~preview1/lex.c:130: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 stringpool_str33[sizeof("if")]; data/ruby3.0-3.0.0~preview1/lex.c:131: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 stringpool_str34[sizeof("case")]; data/ruby3.0-3.0.0~preview1/lex.c:132: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 stringpool_str35[sizeof("redo")]; data/ruby3.0-3.0.0~preview1/lex.c:133: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 stringpool_str36[sizeof("next")]; data/ruby3.0-3.0.0~preview1/lex.c:134: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 stringpool_str37[sizeof("super")]; data/ruby3.0-3.0.0~preview1/lex.c:135: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 stringpool_str38[sizeof("module")]; data/ruby3.0-3.0.0~preview1/lex.c:136: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 stringpool_str39[sizeof("begin")]; data/ruby3.0-3.0.0~preview1/lex.c:137: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 stringpool_str40[sizeof("__LINE__")]; data/ruby3.0-3.0.0~preview1/lex.c:138: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 stringpool_str41[sizeof("__FILE__")]; data/ruby3.0-3.0.0~preview1/lex.c:139: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 stringpool_str42[sizeof("__ENCODING__")]; data/ruby3.0-3.0.0~preview1/lex.c:140: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 stringpool_str43[sizeof("END")]; data/ruby3.0-3.0.0~preview1/lex.c:141: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 stringpool_str44[sizeof("alias")]; data/ruby3.0-3.0.0~preview1/lex.c:142: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 stringpool_str45[sizeof("BEGIN")]; data/ruby3.0-3.0.0~preview1/lex.c:143: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 stringpool_str46[sizeof("defined?")]; data/ruby3.0-3.0.0~preview1/lex.c:144: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 stringpool_str47[sizeof("class")]; data/ruby3.0-3.0.0~preview1/lex.c:145: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 stringpool_str50[sizeof("while")]; data/ruby3.0-3.0.0~preview1/loadpath.c:41:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ruby_lib_version_string[(int)sizeof(RUBY_LIB_VERSION) - 2]; data/ruby3.0-3.0.0~preview1/localeinit.c:43: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 cp[SIZEOF_CP_NAME]; data/ruby3.0-3.0.0~preview1/localeinit.c:125: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 cp[SIZEOF_CP_NAME]; data/ruby3.0-3.0.0~preview1/marshal.c:311:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[sizeof(long)+1]; data/ruby3.0-3.0.0~preview1/marshal.c:415:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[FLOAT_DIG + (DECIMAL_MANT + 7) / 8 + 10]; data/ruby3.0-3.0.0~preview1/marshal.c:436: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(buf + len, p + 1, digs); data/ruby3.0-3.0.0~preview1/marshal.c:441: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(buf + len, p, decpt); data/ruby3.0-3.0.0~preview1/marshal.c:445:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf + len, p + decpt, digs); data/ruby3.0-3.0.0~preview1/marshal.c:456: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(buf + len, p, digs); data/ruby3.0-3.0.0~preview1/marshal.c:1220: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(arg->buf, RSTRING_PTR(str), RSTRING_LEN(str)); data/ruby3.0-3.0.0~preview1/marshal.c:1354: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(arg->buf, RSTRING_PTR(tmp)+need_len, buflen); data/ruby3.0-3.0.0~preview1/marshal.c:1404:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char name_encoding[8] = "encoding"; data/ruby3.0-3.0.0~preview1/miniprelude.c:19: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 L0[507]; /* 1..106 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:20: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 L106[361]; /* 107..147 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:176: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 L0[508]; /* 1..109 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:177: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 L109[163]; /* 110..139 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:325: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 L0[506]; /* 1..71 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:326: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 L71[462]; /* 72..183 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:327:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L183[374]; /* 184..196 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:534: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 L0[473]; /* 1..39 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:535: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 L39[271]; /* 40..85 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:629: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 L0[336]; /* 1..124 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:760: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 L0[487]; /* 1..284 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1051: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 L0[447]; /* 1..194 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1052: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 L194[479]; /* 195..262 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1053: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 L262[490]; /* 263..331 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1054: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 L331[215]; /* 332..349 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1416: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 L0[152]; /* 1..46 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1469: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 L0[314]; /* 1..60 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1536: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 L0[484]; /* 1..121 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1537: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 L121[401]; /* 122..175 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1721: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 L0[502]; /* 1..72 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1722: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 L72[494]; /* 73..86 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1723: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 L86[483]; /* 87..124 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1724: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 L124[462]; /* 125..141 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1725: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 L141[388]; /* 142..166 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1906: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 L0[182]; /* 1..23 */ data/ruby3.0-3.0.0~preview1/miniprelude.c:1936: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 L0[86]; /* 1..3 */ data/ruby3.0-3.0.0~preview1/missing/alloca.c:127:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char align[ALIGN_SIZE]; /* to force sizeof(header) */ data/ruby3.0-3.0.0~preview1/missing/crypt.c:231:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char S[8][64] = { /* 48->32 bit substitution tables */ data/ruby3.0-3.0.0~preview1/missing/crypt.c:318:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const unsigned char a64toi[256] = { data/ruby3.0-3.0.0~preview1/missing/crypt.c:364:74: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. STATIC void init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], unsigned char p[64], int chars_in, int chars_out); data/ruby3.0-3.0.0~preview1/missing/crypt.c:639:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char perm[64], tmp32[32]; data/ruby3.0-3.0.0~preview1/missing/crypt.c:670: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 pc2inv[64]; data/ruby3.0-3.0.0~preview1/missing/crypt.c:777:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char p[64], int chars_in, int chars_out) data/ruby3.0-3.0.0~preview1/missing/crypt.h:203:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char b[8]; data/ruby3.0-3.0.0~preview1/missing/crypt.h:236:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cryptresult[1+4+4+11+1]; /* encrypted result */ data/ruby3.0-3.0.0~preview1/missing/dtoa.c:554:20: [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 Bcopy(x,y) memcpy((char *)&(x)->sign, (char *)&(y)->sign, \ data/ruby3.0-3.0.0~preview1/missing/langinfo.c:61:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buf[16]; data/ruby3.0-3.0.0~preview1/missing/langinfo.c:83:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, "ISO-8859-\0\0", 12); data/ruby3.0-3.0.0~preview1/missing/setproctitle.c:143:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ptitle[1024]; data/ruby3.0-3.0.0~preview1/missing/strerror.c:8:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char msg[50]; data/ruby3.0-3.0.0~preview1/mjit.c:56:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(job->is_entries, body->is_entries, sizeof(union iseq_inline_storage_entry) * body->is_size); data/ruby3.0-3.0.0~preview1/mjit.c:72: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 buff[70], *str = buff; data/ruby3.0-3.0.0~preview1/mjit.c:78:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(str, buff, size); data/ruby3.0-3.0.0~preview1/mjit.c:660:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/mjit.c:668:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmpdir, path, len); data/ruby3.0-3.0.0~preview1/mjit.c:749:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ret, str, n); data/ruby3.0-3.0.0~preview1/mjit.c:759: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[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/mjit.c:776:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ret, buf, sizeof(char *) * i); data/ruby3.0-3.0.0~preview1/mjit.c:808: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 *)cc_common_args, CC_COMMON_ARGS, sizeof(CC_COMMON_ARGS)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:331:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(full_format, format, len); data/ruby3.0-3.0.0~preview1/mjit_worker.c:613:16: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. if ((pid = vfork()) == 0) { /* TODO: reuse some function in process.c */ data/ruby3.0-3.0.0~preview1/mjit_worker.c:700:9: [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(funcname, "_mjit%d", unit->id); data/ruby3.0-3.0.0~preview1/mjit_worker.c:734:43: [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 append_str2(p, str, len) ((char *)memcpy((p), str, (len))+(len)) data/ruby3.0-3.0.0~preview1/mjit_worker.c:940:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char c_file[MAXPATHLEN], so_file[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/mjit_worker.c:984:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char funcname[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/mjit_worker.c:1080:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char c_file_buff[MAXPATHLEN], *c_file = c_file_buff, *so_file, funcname[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/mjit_worker.c:1103: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(o_file, c_file, c_file_len - sizeof(c_ext)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:1104: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(&o_file[c_file_len - sizeof(c_ext)], o_ext, sizeof(o_ext)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:1107: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(so_file, c_file, c_file_len - sizeof(c_ext)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:1108: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(&so_file[c_file_len - sizeof(c_ext)], so_ext, sizeof(so_ext)); data/ruby3.0-3.0.0~preview1/node.c:661: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 name[3]; data/ruby3.0-3.0.0~preview1/numeric.c:943: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[float_dig + (decimal_mant + CHAR_BIT - 1) / CHAR_BIT + 10]; data/ruby3.0-3.0.0~preview1/numeric.c:960:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, p, digs); data/ruby3.0-3.0.0~preview1/numeric.c:978: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(ptr, ".0", 2); data/ruby3.0-3.0.0~preview1/numeric.c:991: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(ptr -= decpt, buf, digs); data/ruby3.0-3.0.0~preview1/numeric.c:2855:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char * data/ruby3.0-3.0.0~preview1/numeric.c:2856:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. out_of_range_float(char (*pbuf)[24], VALUE val) data/ruby3.0-3.0.0~preview1/numeric.c:2867: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[24]; \ data/ruby3.0-3.0.0~preview1/numeric.c:3493: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[SIZEOF_VALUE*CHAR_BIT + 1], *const e = buf + sizeof buf, *b = e; data/ruby3.0-3.0.0~preview1/object.c:3042:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char method[6]; data/ruby3.0-3.0.0~preview1/object.c:3469:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[DBL_DIG * 4 + 10]; data/ruby3.0-3.0.0~preview1/pack.c:86: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[4]; data/ruby3.0-3.0.0~preview1/pack.c:91: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[8]; data/ruby3.0-3.0.0~preview1/pack.c:145: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 unknown[5]; data/ruby3.0-3.0.0~preview1/pack.c:543:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char intbuf[MAX_INTEGER_PACK_SIZE]; data/ruby3.0-3.0.0~preview1/pack.c:648:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[8]; data/ruby3.0-3.0.0~preview1/pack.c:794: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 buff[buff_size + 1]; /* +1 for tail_lf */ data/ruby3.0-3.0.0~preview1/pack.c:844: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 buff[1024]; data/ruby3.0-3.0.0~preview1/pack.c:1278:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(float)); data/ruby3.0-3.0.0~preview1/pack.c:1289:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp.buf, s, sizeof(float)); data/ruby3.0-3.0.0~preview1/pack.c:1301:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp.buf, s, sizeof(double)); data/ruby3.0-3.0.0~preview1/pack.c:1314:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp, s, sizeof(double)); data/ruby3.0-3.0.0~preview1/pack.c:1325:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp.buf, s, sizeof(float)); data/ruby3.0-3.0.0~preview1/pack.c:1337:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp.buf, s, sizeof(double)); data/ruby3.0-3.0.0~preview1/pack.c:1365:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hunk[3]; data/ruby3.0-3.0.0~preview1/pack.c:1397: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(ptr, hunk, mlen); data/ruby3.0-3.0.0~preview1/pack.c:1417:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static signed char b64_xtable[256]; data/ruby3.0-3.0.0~preview1/pack.c:1549: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(&t, s, sizeof(char *)); data/ruby3.0-3.0.0~preview1/pack.c:1592: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(&t, s, sizeof(char *)); data/ruby3.0-3.0.0~preview1/pack.c:1660: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. rb_uv_to_utf8(char buf[6], unsigned long uv) data/ruby3.0-3.0.0~preview1/parse.c:5714:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; data/ruby3.0-3.0.0~preview1/parse.c:5925:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char yymsgbuf[128]; data/ruby3.0-3.0.0~preview1/parse.c:6376:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[2]; data/ruby3.0-3.0.0~preview1/parse.c:13408:23: [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 tokcopy(p, n) memcpy(tokspace(p, n), (p)->lex.pcur - (n), (n)) data/ruby3.0-3.0.0~preview1/parse.c:19815:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (yyres) memcpy(&yyres[yyn], yyp, bquote); data/ruby3.0-3.0.0~preview1/parse.c:19824:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (yyres) memcpy(yyres + yyn, yyp, bquote); data/ruby3.0-3.0.0~preview1/parse.c:19831:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (yyres) memcpy(yyres + yyn, yyp, 3); data/ruby3.0-3.0.0~preview1/process.c:121:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #undef open data/ruby3.0-3.0.0~preview1/process.c:122:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define open rb_w32_uopen data/ruby3.0-3.0.0~preview1/process.c:383:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). tty = fopen("con", "w"); data/ruby3.0-3.0.0~preview1/process.c:385:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). tty = fopen("/dev/tty", "w"); data/ruby3.0-3.0.0~preview1/process.c:1697:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fbuf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/process.c:1799: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 fbuf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/process.c:1846: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 fbuf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/process.c:2475:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. if (!ret && ((const char *)el)[word->len]) ret = -1; data/ruby3.0-3.0.0~preview1/process.c:2484: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 fbuf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/process.c:2941: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 errmsg[CHILD_ERRMSG_BUFLEN] = { '\0' }; data/ruby3.0-3.0.0~preview1/process.c:4018:19: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. pid = vfork(); data/ruby3.0-3.0.0~preview1/process.c:4885: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 errmsg[CHILD_ERRMSG_BUFLEN] = { '\0' }; data/ruby3.0-3.0.0~preview1/random.c:964:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (p) memcpy(p, RSTRING_PTR(v), n); data/ruby3.0-3.0.0~preview1/re.c:29:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char onig_errmsg_buffer[ONIG_MAX_ERROR_MESSAGE_LEN]; data/ruby3.0-3.0.0~preview1/re.c:316:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char * data/ruby3.0-3.0.0~preview1/re.c:317: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. option_to_str(char str[OPTBUF_SIZE], int options) data/ruby3.0-3.0.0~preview1/re.c:436:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char b[8]; data/ruby3.0-3.0.0~preview1/re.c:467:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char opts[OPTBUF_SIZE]; data/ruby3.0-3.0.0~preview1/re.c:559: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 optbuf[OPTBUF_SIZE + 1]; /* for '-' */ data/ruby3.0-3.0.0~preview1/re.c:649: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(paren, s, n); data/ruby3.0-3.0.0~preview1/re.c:673: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 opts[OPTBUF_SIZE + 1]; /* for '/' */ data/ruby3.0-3.0.0~preview1/re.c:2290:44: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. rb_str_buf_cat(str, (const char *)names[i].name, names[i].len); data/ruby3.0-3.0.0~preview1/re.c:2460:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char escbuf[5]; data/ruby3.0-3.0.0~preview1/re.c:2486:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char escbuf[5]; data/ruby3.0-3.0.0~preview1/re.c:2492:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char utf8buf[6]; data/ruby3.0-3.0.0~preview1/re.c:2572: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 smallbuf[2]; data/ruby3.0-3.0.0~preview1/re.c:3524: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(t, p, s - p); data/ruby3.0-3.0.0~preview1/regcomp.c:50:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char PadBuf[WORD_ALIGNMENT_SIZE]; data/ruby3.0-3.0.0~preview1/regerror.c:328: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((char* )buf + n, sep, sizeof(sep)); data/ruby3.0-3.0.0~preview1/regint.h:202:21: [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 xmemcpy memcpy data/ruby3.0-3.0.0~preview1/regparse.h:73:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&((node)->u.base.type), &value, sizeof(int)); \ data/ruby3.0-3.0.0~preview1/ruby-runner.c:35: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(e, paths, pos = size-1); data/ruby3.0-3.0.0~preview1/ruby-runner.c:38: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(e+pos, env, n); data/ruby3.0-3.0.0~preview1/ruby-runner.c:42: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(e+pos, paths, size-1); data/ruby3.0-3.0.0~preview1/ruby-runner.c:88:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(argv[0], arg0, p - arg0); data/ruby3.0-3.0.0~preview1/ruby-runner.c:91:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, rubyname, namesize); data/ruby3.0-3.0.0~preview1/ruby.c:396: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 rubylib[FILENAME_MAX]; data/ruby3.0-3.0.0~preview1/ruby.c:829:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, s, len + 1); data/ruby3.0-3.0.0~preview1/ruby.c:1039:34: [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). mjit_opt->verbose = *s ? atoi(s + 1) : 1; data/ruby3.0-3.0.0~preview1/ruby.c:1042:36: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mjit_opt->max_cache_size = atoi(s + 1); data/ruby3.0-3.0.0~preview1/ruby.c:1045:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mjit_opt->min_calls = atoi(s + 1); data/ruby3.0-3.0.0~preview1/ruby.c:1661: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 fbuf[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/ruby.c:1677:44: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (columns_env) columns = atoi(columns_env); data/ruby3.0-3.0.0~preview1/rubystub.c:17:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *xargv[4] = {NULL, xflag}; data/ruby3.0-3.0.0~preview1/rubystub.c:26:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char selfexe[MAXPATHLEN]; data/ruby3.0-3.0.0~preview1/signal.c:72: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 signm[LONGEST_SIGNAME + 1]; data/ruby3.0-3.0.0~preview1/siphash.c:135: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 bin[32]; data/ruby3.0-3.0.0~preview1/siphash.c:232: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(state->buf + state->buflen, *pdata, to_read); data/ruby3.0-3.0.0~preview1/siphash.c:245: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(state->buf, data + len - r, r); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/array_spec.c:44: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(ptr2, ptr1, size * sizeof(VALUE)); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/encoding_spec.c:133:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[ONIGENC_CODE_TO_MBC_MAXLEN]; data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/io_spec.c:125:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[RB_IO_WAIT_READABLE_BUF]; data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/string_spec.c:331: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(RSTRING_PTR(str), "Infinity", 8); data/ruby3.0-3.0.0~preview1/sprintf.c:85:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&buf[blen], (s), (l));\ data/ruby3.0-3.0.0~preview1/sprintf.c:519: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[blen], RSTRING_PTR(str), len); data/ruby3.0-3.0.0~preview1/sprintf.c:546:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char nbuf[BIT_DIGITS(SIZEOF_LONG*CHAR_BIT)+2], *s; data/ruby3.0-3.0.0~preview1/sprintf.c:637:76: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. RSTRING_PTR(tmp)[i] = ruby_digitmap[((unsigned char *)RSTRING_PTR(tmp))[i]]; data/ruby3.0-3.0.0~preview1/sprintf.c:671:76: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. RSTRING_PTR(tmp)[i] = ruby_digitmap[((unsigned char *)RSTRING_PTR(tmp))[i]]; data/ruby3.0-3.0.0~preview1/sprintf.c:905: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[blen - need], expr, elen); data/ruby3.0-3.0.0~preview1/sprintf.c:910: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[blen - elen], expr, elen); data/ruby3.0-3.0.0~preview1/sprintf.c:916:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fbuf[2*BIT_DIGITS(SIZEOF_INT*CHAR_BIT)+10]; data/ruby3.0-3.0.0~preview1/st.c:358:33: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. return (s == 0 ? ((unsigned char *) bins)[n] data/ruby3.0-3.0.0~preview1/st.c:369: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. if (s == 0) ((unsigned char *) bins)[n] = (unsigned char) v; data/ruby3.0-3.0.0~preview1/st.c:499: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 fname[10+sizeof(long)*3]; data/ruby3.0-3.0.0~preview1/st.c:502: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((snprintf(fname, sizeof(fname), "/tmp/col%ld", (long)getpid()), fname), "w"); data/ruby3.0-3.0.0~preview1/strftime.c:244:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. auto char tbuf[TBUFSIZE]; data/ruby3.0-3.0.0~preview1/strftime.c:368: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(s, format, tp - format); data/ruby3.0-3.0.0~preview1/strftime.c:902:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(s, tp, i); data/ruby3.0-3.0.0~preview1/strftime.c:1259:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char string[MAXTIME]; data/ruby3.0-3.0.0~preview1/string.c:156: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(tmp, RSTRING_PTR(str), tlen);\ data/ruby3.0-3.0.0~preview1/string.c:782: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(RSTRING_PTR(str), ptr, len); data/ruby3.0-3.0.0~preview1/string.c:1173: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(ptr2, RSTRING_PTR(str), len); data/ruby3.0-3.0.0~preview1/string.c:1302: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(RSTRING_PTR(str), RSTRING_PTR(orig), RSTRING_LEN(orig)); data/ruby3.0-3.0.0~preview1/string.c:1444: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(RSTRING_PTR(str), RSTRING_PTR(str2), (size_t)RSTRING_LEN(str2) + termlen); data/ruby3.0-3.0.0~preview1/string.c:1652:17: [2] (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, RSTRING(str)->as.ary, RSTRING_EMBED_LEN_MAX + 1); data/ruby3.0-3.0.0~preview1/string.c:1660:17: [2] (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, old_ptr, osize < size ? osize : size); data/ruby3.0-3.0.0~preview1/string.c:1671:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(RSTRING(str)->as.heap.ptr, RSTRING_PTR(orig), len); data/ruby3.0-3.0.0~preview1/string.c:1979: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(ptr3, ptr1, len1); data/ruby3.0-3.0.0~preview1/string.c:1980: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(ptr3+len1, ptr2, len2); data/ruby3.0-3.0.0~preview1/string.c:2071:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr2, RSTRING_PTR(str), n); data/ruby3.0-3.0.0~preview1/string.c:2073:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr2 + n, ptr2, n); data/ruby3.0-3.0.0~preview1/string.c:2076:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr2 + n, ptr2, len-n); data/ruby3.0-3.0.0~preview1/string.c:2156: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(RSTRING(str)->as.ary, ptr, len); data/ruby3.0-3.0.0~preview1/string.c:2165: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(ptr, oldptr, len); data/ruby3.0-3.0.0~preview1/string.c:2869: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(sptr + olen, ptr, len); data/ruby3.0-3.0.0~preview1/string.c:3156:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1]; data/ruby3.0-3.0.0~preview1/string.c:3188: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(RSTRING_PTR(str1) + pos, buf, len); data/ruby3.0-3.0.0~preview1/string.c:4103: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 save[ONIGENC_CODE_TO_MBC_MAXLEN]; data/ruby3.0-3.0.0~preview1/string.c:4202: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 carry[ONIGENC_CODE_TO_MBC_MAXLEN] = "\1"; data/ruby3.0-3.0.0~preview1/string.c:4241: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 tmp[ONIGENC_CODE_TO_MBC_MAXLEN]; data/ruby3.0-3.0.0~preview1/string.c:5790:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, s, clen); data/ruby3.0-3.0.0~preview1/string.c:5802:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, s, clen); data/ruby3.0-3.0.0~preview1/string.c:5951: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 s[RUBY_MAX_CHAR_LEN]; data/ruby3.0-3.0.0~preview1/string.c:5964: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[CHAR_ESC_LEN + 1]; data/ruby3.0-3.0.0~preview1/string.c:6020: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[CHAR_ESC_LEN + 1]; data/ruby3.0-3.0.0~preview1/string.c:6082: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[CHAR_ESC_LEN + 1]; data/ruby3.0-3.0.0~preview1/string.c:6366:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[6]; data/ruby3.0-3.0.0~preview1/string.c:6721: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(target_current, current_buffer->space, current_buffer->used); data/ruby3.0-3.0.0~preview1/string.c:7505:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. tr_setup_table(VALUE str, char stable[TR_TABLE_SIZE], int first, data/ruby3.0-3.0.0~preview1/string.c:7509: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[256]; data/ruby3.0-3.0.0~preview1/string.c:7569:31: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. tr_find(unsigned int c, const char table[TR_TABLE_SIZE], VALUE del, VALUE nodel) data/ruby3.0-3.0.0~preview1/string.c:7601: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 squeez[TR_TABLE_SIZE]; data/ruby3.0-3.0.0~preview1/string.c:7694: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 squeez[TR_TABLE_SIZE]; data/ruby3.0-3.0.0~preview1/string.c:7858: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 table[TR_TABLE_SIZE]; data/ruby3.0-3.0.0~preview1/string.c:7935: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 isspacetable[256] = { data/ruby3.0-3.0.0~preview1/string.c:9667: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 salt_8bit_clean[3]; data/ruby3.0-3.0.0~preview1/string.c:9847:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p,f,flen); data/ruby3.0-3.0.0~preview1/string.c:9852:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, f, llen2); data/ruby3.0-3.0.0~preview1/string.c:9856:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, RSTRING_PTR(str), size); data/ruby3.0-3.0.0~preview1/string.c:9864:6: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p,f,flen); data/ruby3.0-3.0.0~preview1/string.c:9869:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, f, rlen2); data/ruby3.0-3.0.0~preview1/string.c:10489:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char replace[sizeof(str)-1] = str; \ data/ruby3.0-3.0.0~preview1/string.c:10968:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dest + 1, ptr, len); data/ruby3.0-3.0.0~preview1/thread.c:401: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[BUFSIZ]; data/ruby3.0-3.0.0~preview1/thread.c:3981: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(dst->fdset, src->fdset, size); data/ruby3.0-3.0.0~preview1/thread.c:4044: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(dst->fdset, src, size); data/ruby3.0-3.0.0~preview1/thread.c:4056: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(dst->fdset, src->fdset, size); data/ruby3.0-3.0.0~preview1/thread.c:4607: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 buff[64]; data/ruby3.0-3.0.0~preview1/thread.c:4623:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buff[1024]; data/ruby3.0-3.0.0~preview1/thread_pthread.c:724: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 reg[256]; data/ruby3.0-3.0.0~preview1/thread_pthread.c:785: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. volatile char buf[0x100]; data/ruby3.0-3.0.0~preview1/thread_pthread.c:1604:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[THREAD_NAME_MAX]; data/ruby3.0-3.0.0~preview1/thread_pthread.c:1630: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[THREAD_NAME_MAX]; data/ruby3.0-3.0.0~preview1/thread_win32.c:182: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(targets, events, sizeof(HANDLE) * count); data/ruby3.0-3.0.0~preview1/time.c:1632:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[64]; data/ruby3.0-3.0.0~preview1/time.c:5147: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[base_dump_size + sizeof(long) + 1]; data/ruby3.0-3.0.0~preview1/time.c:5231:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, buf, i); data/ruby3.0-3.0.0~preview1/time.c:5257:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[2]; data/ruby3.0-3.0.0~preview1/transcode.c:76:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char ary[8]; /* max_input <= sizeof(ary) */ data/ruby3.0-3.0.0~preview1/transcode.c:83:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char ary[8]; /* max_output <= sizeof(ary) */ data/ruby3.0-3.0.0~preview1/transcode.c:89:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ary[sizeof(double) > sizeof(void*) ? sizeof(double) : sizeof(void*)]; data/ruby3.0-3.0.0~preview1/transcode.c:383:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(path, transcoder_lib_prefix, sizeof(transcoder_lib_prefix) - 1); data/ruby3.0-3.0.0~preview1/transcode.c:384:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(path + sizeof(transcoder_lib_prefix) - 1, lib, len); data/ruby3.0-3.0.0~preview1/transcode.c:1065:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *decorators[MAX_ECFLAGS_DECORATORS]; data/ruby3.0-3.0.0~preview1/transcode.c:1274:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*output_ptr, ec->in_data_start, len); data/ruby3.0-3.0.0~preview1/transcode.c:1281:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*output_ptr, ec->in_data_start, len); data/ruby3.0-3.0.0~preview1/transcode.c:1300:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*output_ptr, *input_ptr, len); data/ruby3.0-3.0.0~preview1/transcode.c:1319:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*output_ptr, data_start, len); data/ruby3.0-3.0.0~preview1/transcode.c:1326:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*output_ptr, data_start, len); data/ruby3.0-3.0.0~preview1/transcode.c:1385:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char utfbuf[1024]; data/ruby3.0-3.0.0~preview1/transcode.c:1389: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 charef_buf[16]; data/ruby3.0-3.0.0~preview1/transcode.c:1553:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, dst_str, dst_bufsize/2); data/ruby3.0-3.0.0~preview1/transcode.c:1583:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char insert_buf[4096]; data/ruby3.0-3.0.0~preview1/transcode.c:1675:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*data_end_p, insert_str, insert_len); data/ruby3.0-3.0.0~preview1/transcode.c:1678:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*data_end_p, TRANSCODING_READBUF(tc)+tc->recognized_len, tc->readagain_len); data/ruby3.0-3.0.0~preview1/transcode.c:1751:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, TRANSCODING_READBUF(tc) + tc->recognized_len + tc->readagain_len - n, n); data/ruby3.0-3.0.0~preview1/transcode.c:3066:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *decorators[MAX_ECFLAGS_DECORATORS]; data/ruby3.0-3.0.0~preview1/transient_heap.c:86: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 buff[TRANSIENT_HEAP_BLOCK_SIZE - sizeof(struct transient_heap_block_header)]; data/ruby3.0-3.0.0~preview1/util.c:536: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(tmp, str, len); data/ruby3.0-3.0.0~preview1/variable.c:532:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf+1, name, len); data/ruby3.0-3.0.0~preview1/variable.c:552:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf+1, name, len); data/ruby3.0-3.0.0~preview1/variable.c:821:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[2]; data/ruby3.0-3.0.0~preview1/variable.c:998: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(ivtbl, orig, s); data/ruby3.0-3.0.0~preview1/vm.c:2489:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). long val = atol(envval); data/ruby3.0-3.0.0~preview1/vm.c:3649:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[0x10]; data/ruby3.0-3.0.0~preview1/vm_core.h:826:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char rb_thread_id_string_t[sizeof(rb_nativethread_id_t) * 2 + 3]; data/ruby3.0-3.0.0~preview1/vm_dump.c:55: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 posbuf[MAX_POSBUF+1]; data/ruby3.0-3.0.0~preview1/vm_dump.c:162:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[0x100]; data/ruby3.0-3.0.0~preview1/vm_dump.c:494: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[256]; data/ruby3.0-3.0.0~preview1/vm_dump.c:506:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char vec[1]; data/ruby3.0-3.0.0~preview1/vm_dump.c:638:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Name[1]; data/ruby3.0-3.0.0~preview1/vm_dump.c:689:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char libpath[MAX_PATH]; data/ruby3.0-3.0.0~preview1/vm_dump.c:690:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[sizeof(SYMBOL_INFO) + MAX_SYM_NAME]; data/ruby3.0-3.0.0~preview1/vm_dump.c:798: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[64]; data/ruby3.0-3.0.0~preview1/vm_dump.c:926:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[0x100]; data/ruby3.0-3.0.0~preview1/vm_dump.c:1014:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fp = fopen(PROC_MAPS_NAME, "r"); data/ruby3.0-3.0.0~preview1/vm_dump.c:1019:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[0x100]; data/ruby3.0-3.0.0~preview1/vm_dump.c:1074:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[PATH_MAX]; data/ruby3.0-3.0.0~preview1/vsnprintf.c:255:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define COPY(n) (void)memcpy((void *)fp->_p, (void *)p, (size_t)(n)) data/ruby3.0-3.0.0~preview1/vsnprintf.c:562:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expstr[7]; /* buffer for exponent string */ data/ruby3.0-3.0.0~preview1/vsnprintf.c:577:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[BUF]; /* space for %c, %[diouxX], %[eEfgG] */ data/ruby3.0-3.0.0~preview1/vsnprintf.c:578:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ox[4]; /* space for 0x hex-prefix, hexadecimal's 1. */ data/ruby3.0-3.0.0~preview1/vsnprintf.c:590:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char blanks[PADSIZE] = data/ruby3.0-3.0.0~preview1/vsnprintf.c:592:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char zeroes[PADSIZE] = data/ruby3.0-3.0.0~preview1/vsnprintf.c:1268:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, digits, rve - digits); data/ruby3.0-3.0.0~preview1/vsnprintf.c:1290:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char expbuf[2 + (MAXEXP < 1000 ? 3 : MAXEXP < 10000 ? 4 : 5)]; /* >= 2 + ceil(log10(MAXEXP)) */ data/ruby3.0-3.0.0~preview1/win32/file.c:96:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int code_page = atoi(n + 2); data/ruby3.0-3.0.0~preview1/win32/file.c:287:5: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. wchar_t wfullpath_buffer[PATH_BUFFER_SIZE]; data/ruby3.0-3.0.0~preview1/win32/file.c:636:11: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len = MultiByteToWideChar(cp, 0, RSTRING_PTR(path), RSTRING_LEN(path), NULL, 0); data/ruby3.0-3.0.0~preview1/win32/file.c:638:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(cp, 0, RSTRING_PTR(path), RSTRING_LEN(path), wpath, len); data/ruby3.0-3.0.0~preview1/win32/file.c:700:20: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). int e = 0, n = MultiByteToWideChar(CP_ACP, 0, mode, -1, NULL, 0); data/ruby3.0-3.0.0~preview1/win32/file.c:702:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, mode, -1, wmode, numberof(wmode)); data/ruby3.0-3.0.0~preview1/win32/file.c:705:11: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len = MultiByteToWideChar(CP_UTF8, 0, name, n, NULL, 0); data/ruby3.0-3.0.0~preview1/win32/file.c:707:11: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len = MultiByteToWideChar(CP_UTF8, 0, name, n, wname, len); data/ruby3.0-3.0.0~preview1/win32/win32.c:530:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, temp, sizeof(temp)); data/ruby3.0-3.0.0~preview1/win32/win32.c:608:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char wk_name_offset[(numberof(wk.name) - (numberof(vname) - 1)) * 2 + 1]; \ data/ruby3.0-3.0.0~preview1/win32/win32.c:1040: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 cmdname[9], *b = cmdname, c; data/ruby3.0-3.0.0~preview1/win32/win32.c:1111: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(q, s, n); data/ruby3.0-3.0.0~preview1/win32/win32.c:1126: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(q, s, n); data/ruby3.0-3.0.0~preview1/win32/win32.c:1142: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(q, s, n); data/ruby3.0-3.0.0~preview1/win32/win32.c:1163:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (((char *)memcpy(((ptr) = ALLOCV((v), (len) + 1)), (src), (len)))[len] = 0) data/ruby3.0-3.0.0~preview1/win32/win32.c:1339: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 fbuf[PATH_MAX]; data/ruby3.0-3.0.0~preview1/win32/win32.c:1368: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(tmp, shell, shell_len + 1); data/ruby3.0-3.0.0~preview1/win32/win32.c:1434:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, shell, len); data/ruby3.0-3.0.0~preview1/win32/win32.c:1437:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, prog, alen + 1); data/ruby3.0-3.0.0~preview1/win32/win32.c:1485: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 *cmd, fbuf[PATH_MAX]; data/ruby3.0-3.0.0~preview1/win32/win32.c:1515:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *progs[2]; data/ruby3.0-3.0.0~preview1/win32/win32.c:1619:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[PATH_MAX], *buf = buffer; data/ruby3.0-3.0.0~preview1/win32/win32.c:1626:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, patt->str, patt->len); data/ruby3.0-3.0.0~preview1/win32/win32.c:1842:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p - ((slashes + 1) >> 1), p + (~slashes & 1), data/ruby3.0-3.0.0~preview1/win32/win32.c:1924: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(cptr, curr->str, curr->len); data/ruby3.0-3.0.0~preview1/win32/win32.c:2096:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&p->start[idx], fd.cFileName, len * sizeof(WCHAR)); data/ruby3.0-3.0.0~preview1/win32/win32.c:2097:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&p->start[idx + len], fd.cAlternateFileName, altlen * sizeof(WCHAR)); data/ruby3.0-3.0.0~preview1/win32/win32.c:2110: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(tmppath, wpath, pathlen * sizeof(WCHAR)); data/ruby3.0-3.0.0~preview1/win32/win32.c:2112: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(tmppath + pathlen + 1, fd.cFileName, len * sizeof(WCHAR)); data/ruby3.0-3.0.0~preview1/win32/win32.c:2157:15: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). int len = MultiByteToWideChar(cp, 0, str, clen, NULL, 0); data/ruby3.0-3.0.0~preview1/win32/win32.c:2159:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(cp, 0, str, clen, ptr, len); data/ruby3.0-3.0.0~preview1/win32/win32.c:2272: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(ptr = malloc(len + 1), RSTRING_PTR(str), len); data/ruby3.0-3.0.0~preview1/win32/win32.c:2444:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char lowio_pipe_lookahead[3]; data/ruby3.0-3.0.0~preview1/win32/win32.c:2468: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 pipech2[2]; data/ruby3.0-3.0.0~preview1/win32/win32.c:2661:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). (nullfd = open("NUL", O_RDWR)) : 0), \ data/ruby3.0-3.0.0~preview1/win32/win32.c:2712:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[512]; data/ruby3.0-3.0.0~preview1/win32/win32.c:2869: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(dst->fdset->fd_array, src->fd_array, data/ruby3.0-3.0.0~preview1/win32/win32.c:2883: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(dst->fdset->fd_array, src->fdset->fd_array, data/ruby3.0-3.0.0~preview1/win32/win32.c:4124:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[IFNAMSIZ]; data/ruby3.0-3.0.0~preview1/win32/win32.c:4164: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(ifa->ifa_addr, cur->Address.lpSockaddr, data/ruby3.0-3.0.0~preview1/win32/win32.c:5066:17: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). DWORD len = MultiByteToWideChar(cp, 0, path, -1, NULL, 0); data/ruby3.0-3.0.0~preview1/win32/win32.c:5073:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(cp, 0, path, -1, wpath, len); data/ruby3.0-3.0.0~preview1/win32/win32.c:5148:12: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len1 = MultiByteToWideChar(cp, 0, src, -1, NULL, 0); data/ruby3.0-3.0.0~preview1/win32/win32.c:5149:12: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len2 = MultiByteToWideChar(cp, 0, link, -1, NULL, 0); data/ruby3.0-3.0.0~preview1/win32/win32.c:5152:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(cp, 0, src, -1, wsrc, len1); data/ruby3.0-3.0.0~preview1/win32/win32.c:5153:5: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(cp, 0, link, -1, wlink, len2); data/ruby3.0-3.0.0~preview1/win32/win32.c:6426:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[sizeof(prefix) + width_of_ids]; data/ruby3.0-3.0.0~preview1/win32/win32.c:6432: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(name, prefix, width_of_prefix); data/ruby3.0-3.0.0~preview1/win32/win32.c:7975:8: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). len = MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, NULL, 0); data/ruby3.0-3.0.0~preview1/win32/win32.c:7977:2: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_UTF8, 0, RSTRING_PTR(tmp), -1, ptr, len); data/ruby3.0-3.0.0~preview1/addr2line.c:548:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(binary_filename); data/ruby3.0-3.0.0~preview1/addr2line.c:1040:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). v->size = strlen(reader->p); data/ruby3.0-3.0.0~preview1/addr2line.c:1841:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t size = strlen(binary_filename); data/ruby3.0-3.0.0~preview1/addr2line.c:2528:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = (int)strlen (p); data/ruby3.0-3.0.0~preview1/class.c:1967:51: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_define_attr(VALUE klass, const char *name, int read, int write) data/ruby3.0-3.0.0~preview1/class.c:1969:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_attr(klass, rb_intern(name), read, write, FALSE); data/ruby3.0-3.0.0~preview1/compile.c:6129:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (name && strlen(name) > 0 && name[0] != '_') { data/ruby3.0-3.0.0~preview1/compile.c:6149:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (name && strlen(name) > 0 && name[0] != '_') { data/ruby3.0-3.0.0~preview1/compile.c:10213:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(bf->name); data/ruby3.0-3.0.0~preview1/compile.c:11431:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(name) + 1; data/ruby3.0-3.0.0~preview1/compile.c:11793:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ibf_dump_write(dump, RUBY_PLATFORM, strlen(RUBY_PLATFORM) + 1); data/ruby3.0-3.0.0~preview1/complex.c:1923:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(bb) < 1 || data/ruby3.0-3.0.0~preview1/complex.c:1924:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). !isdecimal(*(bb + strlen(bb) - 1))) { data/ruby3.0-3.0.0~preview1/complex.c:1978:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf = ALLOCV_N(char, tmp, strlen(s) + 1); data/ruby3.0-3.0.0~preview1/debug.c:322:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (filter_config && strlen(filter_config) > 0) { data/ruby3.0-3.0.0~preview1/debug.c:327: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). if (strlen(filter_config) >= MAX_DEBUG_LOG_FILTER) { data/ruby3.0-3.0.0~preview1/debug.c:331:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(debug_log.filters[i], filter_config, MAX_DEBUG_LOG_FILTER - 1); data/ruby3.0-3.0.0~preview1/debug.c:341:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(debug_log.filters[i], filter_config, n); data/ruby3.0-3.0.0~preview1/debug.c:454:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(dst, buff, MAX_DEBUG_LOG_MESSAGE_LEN); data/ruby3.0-3.0.0~preview1/dir.c:45:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define NAMLEN(dirent) strlen((dirent)->d_name) data/ruby3.0-3.0.0~preview1/dir.c:48:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define NAMLEN(dirent) strlen((dirent)->d_name) data/ruby3.0-3.0.0~preview1/dir.c:326:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *pend = p + strlen(p); data/ruby3.0-3.0.0~preview1/dir.c:328:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *send = s + strlen(s); data/ruby3.0-3.0.0~preview1/dir.c:411:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *send = s + strlen(string); data/ruby3.0-3.0.0~preview1/dir.c:1103:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). cwd = rb_str_normalize_ospath(path, strlen(path)); data/ruby3.0-3.0.0~preview1/dir.c:1502:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp = rb_enc_str_new(path, strlen(path), enc); data/ruby3.0-3.0.0~preview1/dir.c:2070:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path_len = strlen(str); data/ruby3.0-3.0.0~preview1/dir.c:2078:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(str); data/ruby3.0-3.0.0~preview1/dir.c:2371:64: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). plainname = join_path(path, pathlen, dirsep, (*cur)->str, strlen((*cur)->str)); data/ruby3.0-3.0.0~preview1/dir.c:2535:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen((*cur)->str) + 1; data/ruby3.0-3.0.0~preview1/dir.c:2575:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen + strlen(buf + pathlen), 1, data/ruby3.0-3.0.0~preview1/dir.c:2597:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). list = glob_make_pattern(path, path + strlen(path), arg->flags, enc); data/ruby3.0-3.0.0~preview1/dir.c:2651:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). root = rb_enc_path_skip_prefix(root, root + strlen(root), enc); data/ruby3.0-3.0.0~preview1/dir.c:2658:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = strlen(base); data/ruby3.0-3.0.0~preview1/dir.c:2668:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). list = glob_make_pattern(root, root + strlen(root), flags, enc); data/ruby3.0-3.0.0~preview1/dir.c:2730:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). VALUE name = rb_external_str_new_with_enc(path, strlen(path), enc); data/ruby3.0-3.0.0~preview1/dir.c:2741:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *pend = p + strlen(p); data/ruby3.0-3.0.0~preview1/dir.c:2761:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(s) + 1; data/ruby3.0-3.0.0~preview1/dir.c:3161:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(pattern); data/ruby3.0-3.0.0~preview1/dln.c:199:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, hdrp, sizeof(struct exec)); data/ruby3.0-3.0.0~preview1/dln.c:277:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, reloc, size) != size) { data/ruby3.0-3.0.0~preview1/dln.c:296:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, &size, sizeof(int)) != sizeof(int)) { data/ruby3.0-3.0.0~preview1/dln.c:307:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, buffer, hdrp->a_syms + size) != hdrp->a_syms + size) { data/ruby3.0-3.0.0~preview1/dln.c:377:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, &c, 1) == -1) { data/ruby3.0-3.0.0~preview1/dln.c:382:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, &c, 1) == -1) { data/ruby3.0-3.0.0~preview1/dln.c:390:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read(fd, &c, 1) == 1) { data/ruby3.0-3.0.0~preview1/dln.c:398:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read(fd, p, 1) == 1) { data/ruby3.0-3.0.0~preview1/dln.c:439:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, addr, size) != size) { data/ruby3.0-3.0.0~preview1/dln.c:847:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(buf); data/ruby3.0-3.0.0~preview1/dln.c:932: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). long len = strlen(lib) + 4; data/ruby3.0-3.0.0~preview1/dln.c:950:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, armagic, SARMAG); data/ruby3.0-3.0.0~preview1/dln.c:957:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, &ahdr, sizeof(ahdr)); data/ruby3.0-3.0.0~preview1/dln.c:969:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, data, size); data/ruby3.0-3.0.0~preview1/dln.c:1006:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(fd, &ahdr, sizeof(ahdr)); data/ruby3.0-3.0.0~preview1/dln.c:1059: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). result = strlen(file); data/ruby3.0-3.0.0~preview1/dln.c:1236:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tmp = ALLOCA_N(char, strlen(src) + 1), *p = tmp, c; \ data/ruby3.0-3.0.0~preview1/dln.c:1368:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t errlen = strlen(error = dln_strerror()) + 1; data/ruby3.0-3.0.0~preview1/dln_find.c:125: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). fnlen = strlen(fname); data/ruby3.0-3.0.0~preview1/dln_find.c:201: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). ep = dp+strlen(dp); data/ruby3.0-3.0.0~preview1/dln_find.c:225:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(home); data/ruby3.0-3.0.0~preview1/dln_find.c:284:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (fspace < strlen(extension[j])) { data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/casefold.h:9:37: [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 ONIG_UNICODE_VERSION_STRING mismatch data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:41796:37: [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 ONIG_UNICODE_VERSION_STRING mismatch data/ruby3.0-3.0.0~preview1/enc/unicode/12.1.0/name2ctype.h:41806:43: [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 ONIG_UNICODE_EMOJI_VERSION_STRING mismatch data/ruby3.0-3.0.0~preview1/encoding.c:83:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define valid_encoding_name_p(name) ((name) && strlen(name) <= ENCODING_NAMELEN_MAX) data/ruby3.0-3.0.0~preview1/encoding.c:1639:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(s); data/ruby3.0-3.0.0~preview1/error.c:734:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). write_or_abort(2, mesg, strlen(mesg)); data/ruby3.0-3.0.0~preview1/error.c:745:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). write_or_abort(2, errno_str, strlen(errno_str)); data/ruby3.0-3.0.0~preview1/error.c:748:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). write_or_abort(2, ruby_description, strlen(ruby_description)); data/ruby3.0-3.0.0~preview1/error.c:1017:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_exc_new(etype, s, strlen(s)); data/ruby3.0-3.0.0~preview1/eval_error.c:13:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_write_error2((x), (long)strlen(x)) : \ data/ruby3.0-3.0.0~preview1/eval_error.c:100:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_write_error2(cc, strlen(cc)); data/ruby3.0-3.0.0~preview1/ext/-test-/win32/fd_setsize/fd_setsize.c:11:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fd_set read; data/ruby3.0-3.0.0~preview1/ext/-test-/win32/fd_setsize/fd_setsize.c:18:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). FD_ZERO(&read); data/ruby3.0-3.0.0~preview1/ext/-test-/win32/fd_setsize/fd_setsize.c:22:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). FD_SET(sd, &read); data/ruby3.0-3.0.0~preview1/ext/-test-/win32/fd_setsize/fd_setsize.c:26:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). select(sd+1, &read, &write, &error, &zero); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:311: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). return VpCreateRbObject(strlen(RSTRING_PTR(bg)) + VpBaseFig() + 1, data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:427:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). VpToString(vp, psz+strlen(psz), 0, 0); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:428:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_resize(dump, strlen(psz)); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:2104:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_resize(str, strlen(psz)); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:2147:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(psz1 + 1); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:2158:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_resize(str, strlen(psz1)); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:2194:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_resize(str, strlen(RSTRING_PTR(str))); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:4198: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). buf = rb_str_tmp_new(strlen(szVal) + 1); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5469:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ie = strlen(psz); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5533: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). psz += strlen(psz); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5545:22: [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. if (VpIsPosZero(a)) sprintf(psz, "0"); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5612:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). psz += strlen(psz); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5663: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). psz += strlen(psz); data/ruby3.0-3.0.0~preview1/ext/bigdecimal/bigdecimal.c:5684:25: [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. if (psz[-1] == '.') sprintf(psz, "0"); data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:4229:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). flen = strlen(default_fmt); data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:6626:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). flen = strlen(format); data/ruby3.0-3.0.0~preview1/ext/date/date_core.c:6763:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p); data/ruby3.0-3.0.0~preview1/ext/date/date_parse.c:366:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int n = (int)strlen(w); data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c:83:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strchr(format, '%') == NULL && strlen(format) + 1 >= maxsize) { data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c:186:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(tp = days_l[wday]); data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c:206:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(tp = months_l[mon - 1]); data/ruby3.0-3.0.0~preview1/ext/date/date_strftime.c:423: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). i = strlen(tp); data/ruby3.0-3.0.0~preview1/ext/date/date_strptime.c:199:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(extz_pats[i])) == 0) { data/ruby3.0-3.0.0~preview1/ext/date/date_strptime.c:212:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t l = strlen(day_names[i]); data/ruby3.0-3.0.0~preview1/ext/date/date_strptime.c:228:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t l = strlen(month_names[i]); data/ruby3.0-3.0.0~preview1/ext/date/date_strptime.c:409:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t l = strlen(merid_names[i]); data/ruby3.0-3.0.0~preview1/ext/digest/digest.c:348:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str = rb_str_buf_new(2 + strlen(cname) + 2 + digest_len * 2 + 1); data/ruby3.0-3.0.0~preview1/ext/digest/md5/md5.c:85:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MD5_Update(&state, (const uint8_t *)test[i], strlen(test[i])); data/ruby3.0-3.0.0~preview1/ext/digest/sha2/sha2.c:92:32: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. #error Define BYTE_ORDER to be equal to either LITTLE_ENDIAN or BIG_ENDIAN data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:98:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_external_str_new_with_enc(login, strlen(login), extenc); data/ruby3.0-3.0.0~preview1/ext/etc/etc.c:671:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t tmplen = strlen(default_tmp); data/ruby3.0-3.0.0~preview1/ext/fiddle/handle.c:330:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = (int)strlen(name); data/ruby3.0-3.0.0~preview1/ext/io/console/console.c:1218:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (write(fptr->fd, query->qstr, strlen(query->qstr)) != -1) { data/ruby3.0-3.0.0~preview1/ext/io/console/console.c:1222:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). write(1, query->qstr, strlen(query->qstr)) != -1) { data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:1024:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int filename_length = strlen(filename); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:1031:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). backup_filename = nkf_xmalloc(strlen(suffix) + (asterisk_count * (filename_length - 1)) + 1); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:1035:3: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(backup_filename, filename, filename_length); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:1044:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). j = filename_length + strlen(suffix); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:3348:12: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return getc(f); data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7057:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). outfname = nkf_xmalloc(strlen(origfname) data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7058:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). + strlen(".nkftmpXXXXXX") data/ruby3.0-3.0.0~preview1/ext/nkf/nkf-utf8/nkf.c:7064:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = strlen(outfname); i; --i){ data/ruby3.0-3.0.0~preview1/ext/nkf/nkf.c:19:8: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef getc data/ruby3.0-3.0.0~preview1/ext/nkf/nkf.c:21:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define getc(f) (input_ctr>=i_len?-1:input[input_ctr++]) data/ruby3.0-3.0.0~preview1/ext/objspace/object_tracing.c:47:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(result, str, len); data/ruby3.0-3.0.0~preview1/ext/objspace/objspace_dump.c:86:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define dump_append(dc, str) buffer_append(dc, (str), (long)strlen(str)) data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:922:45: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int_ossl_decode_sanity_check(long len, long read, long offset) data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:924:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (len != 0 && (read != len || offset != len)) { data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:927:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read, len, offset); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:963:48: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ossl_asn1_decode0(&p, len, &offset, 0, 1, &read); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:965:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int_ossl_decode_sanity_check(len, read, offset); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:993:54: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = ossl_asn1_decode0(&p, len, &offset, 0, 0, &read); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:995:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int_ossl_decode_sanity_check(len, read, offset); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_asn1.c:1034:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int_ossl_decode_sanity_check(len, read, offset); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_bn.c:287:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str = ossl_buf2str(buf, rb_long2int(strlen(buf))); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_bn.c:291:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str = ossl_buf2str(buf, rb_long2int(strlen(buf))); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_ns_spki.c:145:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str = ossl_buf2str(data, rb_long2int(strlen(data))); data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_pkcs7.c:428:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(p7_type_tab[i].name) != l) continue; data/ruby3.0-3.0.0~preview1/ext/openssl/ossl_x509name.c:258:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return ossl_buf2str(buf, rb_long2int(strlen(buf))); data/ruby3.0-3.0.0~preview1/ext/psych/psych_parser.c:27:76: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). static int io_reader(void * data, unsigned char *buf, size_t size, size_t *read) data/ruby3.0-3.0.0~preview1/ext/psych/psych_parser.c:37:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). memcpy(buf, str, *read); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:741:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen((char *)tag_directive->handle))) data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:744:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen((char *)tag_directive->prefix))) data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:805:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(anchor, strlen((char *)anchor))) return 0; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:836:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:842:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:848:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = (int)strlen((char *)value); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:886:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:892:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:941:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:947:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:1082:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen((char *)tag_directive->handle))) data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:1085:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen((char *)tag_directive->prefix))) data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:1214:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:1219:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = (int)strlen((char *)value); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:1266:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/api.c:1311:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:628:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen((char *)tag_directive->handle))) data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:631:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen((char *)tag_directive->prefix), 1)) data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:1379: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). handle_length = strlen((char *)tag_directive.handle); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:1380: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). prefix_length = strlen((char *)tag_directive.prefix); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:1428: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). anchor_length = strlen((char *)anchor); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:1465:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tag_length = strlen((char *)tag); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:1475:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t prefix_length = strlen((char *)tag_directive->prefix); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:1482:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen((char *)tag_directive->handle); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/emitter.c:1815:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). indicator_length = strlen(indicator); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/parser.c:606:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t prefix_len = strlen((char *)tag_directive->prefix); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/parser.c:607:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t suffix_len = strlen((char *)tag_suffix); data/ruby3.0-3.0.0~preview1/ext/psych/yaml/scanner.c:2438:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (handle[0] == '!' && handle[1] != '\0' && handle[strlen((char *)handle)-1] == '!') data/ruby3.0-3.0.0~preview1/ext/psych/yaml/scanner.c:2574:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t length = head ? strlen((char *)head) : 0; data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:196:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss = read(p->fd, &ch, 1); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:721:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long beg = 0, len = strlen(ptr); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1046:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long low = strlen(result1); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1054:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l2 = strlen(p2); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1069:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(result[0], result[1], low); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1089:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(text); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1363:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(basic_word_break_characters, data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1418:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(completer_word_break_characters, data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1533:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(basic_quote_characters, data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1589:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(completer_quote_characters, RSTRING_PTR(str), RSTRING_LEN(str)); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:1643:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(filename_quote_characters, RSTRING_PTR(str), RSTRING_LEN(str)); data/ruby3.0-3.0.0~preview1/ext/readline/readline.c:2090:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(EDIT_LINE_LIBRARY_VERSION)) == 0) { data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:405:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define STR_NEW2(ptr) rb_enc_str_new((ptr),strlen(ptr),p->enc) data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:5611: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). # define yystrlen strlen data/ruby3.0-3.0.0~preview1/ext/ripper/ripper.c:19907:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yyres) return strlen(yystr); data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:174:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (((ai)->ai_canonname = (char *)malloc(strlen(str) + 1)) != NULL) {\ data/ruby3.0-3.0.0~preview1/ext/socket/getaddrinfo.c:594:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(hostname) >= NI_MAXHOST) ERR(EAI_NODATA); data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:161: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(numserv) + 1 > servlen) data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:168:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(sp->s_name) + 1 > servlen) data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:205: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(numaddr) > hostlen) data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:221:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(hp->h_name) + 1 > hostlen) { data/ruby3.0-3.0.0~preview1/ext/socket/getnameinfo.c:237:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(numaddr) > hostlen) data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:88:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(host, "::", hostlen); data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:159:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strspn(service, "0123456789") != strlen(service)) data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:252:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strspn(node, "0123456789abcdefABCDEF.:") == strlen(node) && data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:277:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strspn(node, "0123456789.") == strlen(node) && data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:595:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (hostp && hostp[strlen(hostp)-1] == '\n') { data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:630:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (hostp && hostp[strlen(hostp)-1] == '\n') { data/ruby3.0-3.0.0~preview1/ext/socket/raddrinfo.c:801:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (addr->ai_canonname && strlen(addr->ai_canonname) < NI_MAXHOST && data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:878:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_resize(name, strlen(RSTRING_PTR(name))); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1291:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(hbuf, StringValueCStr(host), sizeof(hbuf)); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1297:6: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(pbuf, "0"); data/ruby3.0-3.0.0~preview1/ext/socket/socket.c:1305:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(pbuf, StringValueCStr(port), sizeof(pbuf)); data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c:67:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = e ? e - n : strlen(n); data/ruby3.0-3.0.0~preview1/ext/stringio/stringio.c:76:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (e && (len = strlen(++e)) > 0 && len <= ENCODING_MAXNAMELEN) { data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:355:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ID nameid = rb_check_id_cstr(psz, (long)strlen(psz), cWIN32OLE_enc); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:950:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_set_len(vstr, (long)strlen(RSTRING_PTR(vstr))); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole.c:2207:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(StringValuePtr(helpfile)) == 0) { data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_error.c:30:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). term = p_msg + strlen(p_msg); data/ruby3.0-3.0.0~preview1/ext/win32ole/win32ole_record.c:459:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t n = strlen(StringValueCStr(name)); data/ruby3.0-3.0.0~preview1/file.c:1803:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_warn_deprecated("%.*ss?", s, (int)(strlen(s)-1), s); data/ruby3.0-3.0.0~preview1/file.c:3251:10: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). omask = umask(0); data/ruby3.0-3.0.0~preview1/file.c:3252:2: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). umask(omask); data/ruby3.0-3.0.0~preview1/file.c:3255:10: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). omask = umask(NUM2MODET(argv[0])); data/ruby3.0-3.0.0~preview1/file.c:3543: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). dirlen = strlen(dir); data/ruby3.0-3.0.0~preview1/file.c:3667:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t dirlen = strlen(dir), buflen = rb_str_capacity(result); data/ruby3.0-3.0.0~preview1/file.c:3948:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(p); data/ruby3.0-3.0.0~preview1/file.c:3984: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). rb_str_set_len(result, p - buf + strlen(p)); data/ruby3.0-3.0.0~preview1/file.c:4027:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p); data/ruby3.0-3.0.0~preview1/file.c:4179:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *pend = unresolved + strlen(unresolved); data/ruby3.0-3.0.0~preview1/file.c:4419:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). resolved = ospath_new(resolved_ptr, strlen(resolved_ptr), rb_filesystem_encoding()); data/ruby3.0-3.0.0~preview1/file.c:4557:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). end = name + (alllen ? (size_t)*alllen : strlen(name)); data/ruby3.0-3.0.0~preview1/file.c:4748:58: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *p, *e, *end = name + (len ? *len : (long)strlen(name)); data/ruby3.0-3.0.0~preview1/file.c:6218:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pend = path + strlen(path); data/ruby3.0-3.0.0~preview1/gc.c:6044:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(data->category) == 0) rb_bug("!!!"); data/ruby3.0-3.0.0~preview1/gc.c:9958:11: [1] (free) memalign: On some systems (though not Linux-based systems) an attempt to free() results from memalign() may fail. This may, on a few systems, be exploitable. Also note that memalign() may not check that the boundary parameter is correct (CWE-676). Use posix_memalign instead (defined in POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD 4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases, malloc()'s alignment may be sufficient. res = memalign(alignment, size); data/ruby3.0-3.0.0~preview1/hash.c:4881:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return env_enc_str_new(ptr, strlen(ptr), enc); data/ruby3.0-3.0.0~preview1/hash.c:4894:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return env_str_new(ptr, strlen(ptr)); data/ruby3.0-3.0.0~preview1/hash.c:5133:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). register int i, len = strlen(nam); data/ruby3.0-3.0.0~preview1/hash.c:5281:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name); data/ruby3.0-3.0.0~preview1/hash.c:5283:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mem_size = len + strlen(value) + 2; data/ruby3.0-3.0.0~preview1/hash.c:5338:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name) + strlen(value) + 2; data/ruby3.0-3.0.0~preview1/hash.c:5338:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name) + strlen(value) + 2; data/ruby3.0-3.0.0~preview1/hash.c:6163:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(s); data/ruby3.0-3.0.0~preview1/hash.c:6200:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(s); data/ruby3.0-3.0.0~preview1/hash.c:6240:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(s); data/ruby3.0-3.0.0~preview1/include/ruby/encoding.h:152:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_enc_str_new_static((str), (long)strlen(str), (enc)) : \ data/ruby3.0-3.0.0~preview1/include/ruby/internal/intern/string.h:138:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return RBIMPL_CAST((long)strlen(str)); data/ruby3.0-3.0.0~preview1/include/ruby/internal/symbol.h:73:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(str); data/ruby3.0-3.0.0~preview1/include/ruby/win32.h:155:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define read(f, b, s) rb_w32_read(f, b, s) data/ruby3.0-3.0.0~preview1/internal/string.h:132:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_fstring_new((str), (long)strlen(str)) : \ data/ruby3.0-3.0.0~preview1/internal/symbol.h:37:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_sym_intern_ascii((ptr), (long)strlen(ptr)) : \ data/ruby3.0-3.0.0~preview1/io.c:1081:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(iis->fd, iis->buf, iis->capa); data/ruby3.0-3.0.0~preview1/io.c:2530: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). rb_str_cat(result, closed+1, strlen(closed)-1); data/ruby3.0-3.0.0~preview1/io.c:2539:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_cat(result, closed, strlen(closed)); data/ruby3.0-3.0.0~preview1/io.c:5664:56: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (io_encname_bom_p(m, p ? (long)(p - m) : (long)strlen(m))) data/ruby3.0-3.0.0~preview1/io.c:5852:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = p ? (p++ - estr) : (long)strlen(estr); data/ruby3.0-3.0.0~preview1/io.c:6626:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss = read(fd, buf, sizeof(buf)); data/ruby3.0-3.0.0~preview1/io.c:8124:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_write_error2(mesg, strlen(mesg)); data/ruby3.0-3.0.0~preview1/io.c:9330:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). select_internal(VALUE read, VALUE write, VALUE except, struct timeval *tp, rb_fdset_t *fds) data/ruby3.0-3.0.0~preview1/io.c:9340:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!NIL_P(read)) { data/ruby3.0-3.0.0~preview1/io.c:9341:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Check_Type(read, T_ARRAY); data/ruby3.0-3.0.0~preview1/io.c:9342:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (i=0; i<RARRAY_LEN(read); i++) { data/ruby3.0-3.0.0~preview1/io.c:9343:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GetOpenFile(rb_io_get_io(RARRAY_AREF(read, i)), fptr); data/ruby3.0-3.0.0~preview1/io.c:9408:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). for (i=0; i< RARRAY_LEN(read); i++) { data/ruby3.0-3.0.0~preview1/io.c:9409:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). VALUE obj = rb_ary_entry(read, i); data/ruby3.0-3.0.0~preview1/io.c:9455:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). VALUE read, write, except; data/ruby3.0-3.0.0~preview1/io.c:9465:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return select_internal(p->read, p->write, p->except, p->timeout, p->fdsets); data/ruby3.0-3.0.0~preview1/io.c:9801:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_scan_args(argc, argv, "13", &args.read, &args.write, &args.except, &timeout); data/ruby3.0-3.0.0~preview1/io.c:11505:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read(fd, buf, count); data/ruby3.0-3.0.0~preview1/io.c:13144:76: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ARGF.inplace = !suffix ? Qfalse : !*suffix ? Qnil : rb_str_new(suffix, strlen(suffix)); data/ruby3.0-3.0.0~preview1/load.c:367:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). VALUE p = loaded_feature_path(s, strlen(s), fp->name, fp->len, data/ruby3.0-3.0.0~preview1/load.c:387:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). elen = strlen(ext); data/ruby3.0-3.0.0~preview1/load.c:388:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(feature) - elen; data/ruby3.0-3.0.0~preview1/load.c:392:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(feature); data/ruby3.0-3.0.0~preview1/load.c:399:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). key = feature_key(feature, strlen(feature)); data/ruby3.0-3.0.0~preview1/load.c:1269:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define rb_intern(str) rb_intern2((str), strlen(str)) data/ruby3.0-3.0.0~preview1/marshal.c:299:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define w_cstr(s, arg) w_bytes((s), strlen(s), (arg)) data/ruby3.0-3.0.0~preview1/miniprelude.c:1969:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t namelen = strlen(feature_name); data/ruby3.0-3.0.0~preview1/missing/dtoa.c:2541:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define rv_strdup(s, rve) nrv_alloc((s), (rve), strlen(s)+1) data/ruby3.0-3.0.0~preview1/missing/langinfo.c:59:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define strstart(s, n) (strncasecmp((s), (n), strlen(n)) == 0) data/ruby3.0-3.0.0~preview1/missing/setproctitle.c:116:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). lastargv = argv[i] + strlen(argv[i]); data/ruby3.0-3.0.0~preview1/missing/setproctitle.c:121:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). lastenvp = envp[i] + strlen(envp[i]); data/ruby3.0-3.0.0~preview1/missing/setproctitle.c:162:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pstat(PSTAT_SETCMD, pst, strlen(ptitle), 0, 0); data/ruby3.0-3.0.0~preview1/missing/strchr.c:5:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t strlen(const char*); data/ruby3.0-3.0.0~preview1/missing/strchr.c:10:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (c == 0) return (char *)s + strlen(s); data/ruby3.0-3.0.0~preview1/missing/strchr.c:24:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (c == 0) return (char *)s + strlen(s); data/ruby3.0-3.0.0~preview1/missing/strlcat.c:45:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return(dlen + strlen(src)); data/ruby3.0-3.0.0~preview1/missing/strstr.c:5:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t strlen(const char*); data/ruby3.0-3.0.0~preview1/missing/strstr.c:14:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). hend = haystack + strlen(haystack) - strlen(needle) + 1; data/ruby3.0-3.0.0~preview1/missing/strstr.c:14:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). hend = haystack + strlen(haystack) - strlen(needle) + 1; data/ruby3.0-3.0.0~preview1/mjit.c:765:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(flags) > 0) data/ruby3.0-3.0.0~preview1/mjit.c:814:76: [1] (buffer) strlen: Does not handle 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 (CC_COMMON_ARGS[i] && strncmp("-save-temps", CC_COMMON_ARGS[i], strlen("-save-temps")) == 0) data/ruby3.0-3.0.0~preview1/mjit_worker.c:327:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(format); data/ruby3.0-3.0.0~preview1/mjit_worker.c:614:9: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). umask(0077); data/ruby3.0-3.0.0~preview1/mjit_worker.c:709:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path = strstr(path, lib) + strlen(lib); data/ruby3.0-3.0.0~preview1/mjit_worker.c:711:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). path = strstr(path, version) + strlen(version); data/ruby3.0-3.0.0~preview1/mjit_worker.c:720:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (size_t i = 0; i < strlen(funcname); i++) { data/ruby3.0-3.0.0~preview1/mjit_worker.c:747:66: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). files[0] = p = alloca(sizeof(char) * (rb_strlen_lit("-Fe") + strlen(so_file) + 1)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:749:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = append_str2(p, so_file, strlen(so_file)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:754:66: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). files[1] = p = alloca(sizeof(char) * (rb_strlen_lit("-Fo") + strlen(so_file) - rb_strlen_lit(DLEXT) + rb_strlen_lit(".obj") + 1)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:756:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = append_str2(p, so_file, strlen(so_file) - rb_strlen_lit(DLEXT)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:761:66: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). files[2] = p = alloca(sizeof(char) * (rb_strlen_lit("-Yu") + strlen(pch_file) + 1)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:763: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). p = append_str2(p, pch_file, strlen(pch_file)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:767:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). files[3] = p = alloca(sizeof(char) * (strlen(pch_file) + 1)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:768: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). p = append_str2(p, pch_file, strlen(pch_file) - strlen(".pch")); data/ruby3.0-3.0.0~preview1/mjit_worker.c:768:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = append_str2(p, pch_file, strlen(pch_file) - strlen(".pch")); data/ruby3.0-3.0.0~preview1/mjit_worker.c:773:66: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). files[4] = p = alloca(sizeof(char) * (rb_strlen_lit("-Tc") + strlen(c_file) + 1)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:775:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = append_str2(p, c_file, strlen(c_file)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:779:66: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). files[5] = p = alloca(sizeof(char) * (rb_strlen_lit("-Fd") + strlen(pch_file) + 1)); data/ruby3.0-3.0.0~preview1/mjit_worker.c:781: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). p = append_str2(p, pch_file, strlen(pch_file) - rb_strlen_lit(".pch")); data/ruby3.0-3.0.0~preview1/mjit_worker.c:799:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). before_dot = obj_file + strlen(obj_file) - rb_strlen_lit(".obj"); data/ruby3.0-3.0.0~preview1/mjit_worker.c:859:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* o_file = alloca(strlen(c_file) + 1); data/ruby3.0-3.0.0~preview1/mjit_worker.c:861:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). o_file[strlen(c_file) - 1] = 'o'; data/ruby3.0-3.0.0~preview1/mjit_worker.c:1029:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char *e = s + strlen(s); data/ruby3.0-3.0.0~preview1/numeric.c:952:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_usascii_str_new(minf+pos, strlen(minf)-pos); data/ruby3.0-3.0.0~preview1/object.c:2231:84: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). check_setter_id(obj, &(name), rb_is_##type##_id, rb_is_##type##_name, message, strlen(message)) data/ruby3.0-3.0.0~preview1/parse.c:405:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define STR_NEW2(ptr) rb_enc_str_new((ptr),strlen(ptr),p->enc) data/ruby3.0-3.0.0~preview1/parse.c:5614: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). # define yystrlen strlen data/ruby3.0-3.0.0~preview1/parse.c:19862:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!yyres) return strlen(yystr); data/ruby3.0-3.0.0~preview1/process.c:2610:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). hide_obj(rb_str_subseq(argv_buf, 0, strlen(RSTRING_PTR(argv_buf)))); data/ruby3.0-3.0.0~preview1/process.c:2654:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p) + 1; data/ruby3.0-3.0.0~preview1/process.c:2848:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p) + 1; data/ruby3.0-3.0.0~preview1/process.c:3498:26: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). mode_t oldmask = umask(mask); /* never fail */ /* async-signal-safe */ data/ruby3.0-3.0.0~preview1/process.c:3777:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(fd, buf, len); data/ruby3.0-3.0.0~preview1/process.c:3792:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). errmsg_buflen = strlen(errmsg); data/ruby3.0-3.0.0~preview1/random.c:422:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read(fd, ((char*)seed) + offset, size - offset); data/ruby3.0-3.0.0~preview1/rational.c:2557:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). num = parse_rat(s, s + strlen(s), strict, TRUE); data/ruby3.0-3.0.0~preview1/re.c:1172:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). num = name_to_backref_number(regs, regexp, name, name + strlen(name)); data/ruby3.0-3.0.0~preview1/regenc.c:948:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). onig_st_insert_strend(*table, name, name + strlen((char* )name), data/ruby3.0-3.0.0~preview1/regexec.c:4342:12: [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. goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4381:7: [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. goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4386:40: [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. &low, &high, &low_prev)) goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4397:7: [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. goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4401:43: [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. &low, &high, (UChar** )NULL)) goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4417:9: [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. goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4448:11: [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. goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4459:7: [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. goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4462:47: [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. if ((end - range) < reg->threshold_len) goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4477:31: [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. &low, &high) <= 0) goto mismatch; data/ruby3.0-3.0.0~preview1/regexec.c:4488:2: [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. mismatch: data/ruby3.0-3.0.0~preview1/regparse.c:5704:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). UChar* name_end = name + strlen(propname); data/ruby3.0-3.0.0~preview1/ruby-runner.c:28:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = strlen(env); data/ruby3.0-3.0.0~preview1/ruby-runner.c:86:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(p) < namesize - 1) { data/ruby3.0-3.0.0~preview1/ruby.c:414:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). p = strncpy(RSTRING_PTR(buf), p, len); data/ruby3.0-3.0.0~preview1/ruby.c:681:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t exec_prefix_len = strlen(ruby_exec_prefix); data/ruby3.0-3.0.0~preview1/ruby.c:698:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(paths); data/ruby3.0-3.0.0~preview1/ruby.c:824:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). argstr = rb_str_tmp_new((len = strlen(s)) + (envopt!=0)); data/ruby3.0-3.0.0~preview1/ruby.c:933:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_warn("features are [%.*s].", (int)strlen(list), list); data/ruby3.0-3.0.0~preview1/ruby.c:971:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_warn("debug features are [%.*s].", (int)strlen(list), list); data/ruby3.0-3.0.0~preview1/ruby.c:981:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_warn("but only [%.*s].", (int)strlen(list), list); data/ruby3.0-3.0.0~preview1/ruby.c:989:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!elen) elen = strlen(e); data/ruby3.0-3.0.0~preview1/ruby.c:1021:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t l = strlen(++s); data/ruby3.0-3.0.0~preview1/ruby.c:1122:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(s); data/ruby3.0-3.0.0~preview1/ruby.c:1263:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_fs = rb_reg_new(s, strlen(s), 0); data/ruby3.0-3.0.0~preview1/signal.c:1015:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). iov[2].iov_len = strlen(prev); data/ruby3.0-3.0.0~preview1/signal.c:1022:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). err = write(2, prev, strlen(prev)); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/class_spec.c:113:72: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). VALUE class_spec_define_attr(VALUE self, VALUE klass, VALUE sym, VALUE read, VALUE write) { data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/encoding_spec.c:200:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_enc_str_new_static("test string literal", strlen("test string literal"), e); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/exception_spec.c:13:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_exc_new(rb_eException, cstr, strlen(cstr)); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/io_spec.c:134:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, buf, RB_IO_WAIT_READABLE_BUF) != -1) { data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/io_spec.c:145:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t r = read(fd, buf, RB_IO_WAIT_READABLE_BUF); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/regexp_spec.c:15:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_reg_new(cstr, strlen(cstr), opts); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/string_spec.c:90:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rb_str_buf_cat(str, question_mark, strlen(question_mark)); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/string_spec.c:97:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_enc_str_buf_cat(str, cstr, strlen(cstr), enc); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/symbol_spec.c:47:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_str_new(c_str, strlen(c_str)); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/thread_spec.c:31:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(rfd, &dummy, 1); data/ruby3.0-3.0.0~preview1/spec/ruby/optional/capi/ext/thread_spec.c:69:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(rfd, &dummy, 1) == -1 && errno == EINTR) { data/ruby3.0-3.0.0~preview1/sprintf.c:746: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). width -= (int)strlen(prefix); data/ruby3.0-3.0.0~preview1/sprintf.c:765:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int plen = (int)strlen(prefix); data/ruby3.0-3.0.0~preview1/sprintf.c:890:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). need = (int)strlen(expr); data/ruby3.0-3.0.0~preview1/st.c:1926:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return st_hash(string, strlen(string), FNV1_32A_INIT); data/ruby3.0-3.0.0~preview1/strftime.c:406:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(tp = days_l[vtm->wday]); data/ruby3.0-3.0.0~preview1/strftime.c:431:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(tp = months_l[vtm->mon-1]); data/ruby3.0-3.0.0~preview1/strftime.c:648:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(tp); data/ruby3.0-3.0.0~preview1/string.c:434:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_fstring_new(ptr, strlen(ptr)); data/ruby3.0-3.0.0~preview1/string.c:838:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_str_new(ptr, strlen(ptr)); data/ruby3.0-3.0.0~preview1/string.c:864:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_enc_str_new(ptr, strlen(ptr), enc); data/ruby3.0-3.0.0~preview1/string.c:1117:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_external_str_new_with_enc(ptr, strlen(ptr), rb_default_external_encoding()); data/ruby3.0-3.0.0~preview1/string.c:1129:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_external_str_new_with_enc(ptr, strlen(ptr), rb_locale_encoding()); data/ruby3.0-3.0.0~preview1/string.c:1141:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_external_str_new_with_enc(ptr, strlen(ptr), rb_filesystem_encoding()); data/ruby3.0-3.0.0~preview1/string.c:1362:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(ptr); data/ruby3.0-3.0.0~preview1/string.c:2876:58: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define str_buf_cat2(str, ptr) str_buf_cat((str), (ptr), strlen(ptr)) data/ruby3.0-3.0.0~preview1/string.c:2892:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_str_buf_cat(str, ptr, strlen(ptr)); data/ruby3.0-3.0.0~preview1/string.c:3002:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_enc_cr_str_buf_cat(str, ptr, strlen(ptr), data/ruby3.0-3.0.0~preview1/string.c:5989:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = (int)strlen(buf); /* CHAR_ESC_LEN cannot exceed INT_MAX */ data/ruby3.0-3.0.0~preview1/string.c:6036:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str_buf_cat(result, buf, strlen(buf)); data/ruby3.0-3.0.0~preview1/string.c:6047:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str_buf_cat(result, cc, strlen(cc)); data/ruby3.0-3.0.0~preview1/string.c:6112:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). str_buf_cat(result, buf, strlen(buf)); data/ruby3.0-3.0.0~preview1/string.c:6202:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(nonascii_suffix) - rb_strlen_lit("%s"); data/ruby3.0-3.0.0~preview1/string.c:6203:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(enc->name); data/ruby3.0-3.0.0~preview1/string.c:6315:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). q += strlen(q); data/ruby3.0-3.0.0~preview1/string.c:10901:73: [1] (buffer) strlen: Does not handle 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 ((resenc != enc && !rb_str_is_ascii_only_p(sym)) || len != (long)strlen(ptr) || data/ruby3.0-3.0.0~preview1/symbol.c:42:70: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define REGISTER_SYMID(id, name) register_static_symid((id), (name), strlen(name), enc) data/ruby3.0-3.0.0~preview1/symbol.c:205:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_enc_symname2_p(name, strlen(name), enc); data/ruby3.0-3.0.0~preview1/symbol.c:787:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_intern2(name, strlen(name)); data/ruby3.0-3.0.0~preview1/symbol.c:1207:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return rb_sym_intern_ascii(ptr, strlen(ptr)); data/ruby3.0-3.0.0~preview1/thread.c:4279:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_thread_wait_fd_rw(int fd, int read) data/ruby3.0-3.0.0~preview1/thread.c:4282:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int events = read ? RB_WAITFD_IN : RB_WAITFD_OUT; data/ruby3.0-3.0.0~preview1/thread.c:4284:56: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). thread_debug("rb_thread_wait_fd_rw(%d, %s)\n", fd, read ? "read" : "write"); data/ruby3.0-3.0.0~preview1/thread.c:4295:62: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). thread_debug("rb_thread_wait_fd_rw(%d, %s): done\n", fd, read ? "read" : "write"); data/ruby3.0-3.0.0~preview1/thread.c:4324:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_thread_fd_select(int max, rb_fdset_t * read, rb_fdset_t * write, rb_fdset_t * except, data/ruby3.0-3.0.0~preview1/thread.c:4332:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). set.rset = read; data/ruby3.0-3.0.0~preview1/thread.c:4496:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_fdset_t *read; data/ruby3.0-3.0.0~preview1/thread.c:4510:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). args->read, args->write, args->except, args->tv); data/ruby3.0-3.0.0~preview1/thread.c:4515:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (args->read && rb_fd_isset(args->as.fd, args->read)) data/ruby3.0-3.0.0~preview1/thread.c:4515:51: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (args->read && rb_fd_isset(args->as.fd, args->read)) data/ruby3.0-3.0.0~preview1/thread.c:4531:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (args->read) rb_fd_term(args->read); data/ruby3.0-3.0.0~preview1/thread.c:4531:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (args->read) rb_fd_term(args->read); data/ruby3.0-3.0.0~preview1/thread.c:4637:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = read(fd, buff, sizeof(buff)); data/ruby3.0-3.0.0~preview1/time.c:917:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = p - zone + strlen(p); data/ruby3.0-3.0.0~preview1/transcode.c:378:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = strlen(lib); data/ruby3.0-3.0.0~preview1/transcode.c:1419:71: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ret = rb_econv_insert_output(ec, (unsigned char *)charef_buf, strlen(charef_buf), "US-ASCII"); data/ruby3.0-3.0.0~preview1/util.c:533:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(str) + 1; data/ruby3.0-3.0.0~preview1/variable.c:528:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(name); data/ruby3.0-3.0.0~preview1/variable.c:543:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(name); data/ruby3.0-3.0.0~preview1/variable.c:1711:82: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). check_id_type(obj, &(name), rb_is_##type##_id, rb_is_##type##_name, message, strlen(message)) data/ruby3.0-3.0.0~preview1/variable.c:3093:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(name); data/ruby3.0-3.0.0~preview1/variable.c:3443:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ID id = rb_check_id_cstr(name, strlen(name), rb_usascii_encoding()); data/ruby3.0-3.0.0~preview1/vm_method.c:1385:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rb_attr(VALUE klass, ID id, int read, int write, int ex) data/ruby3.0-3.0.0~preview1/vm_method.c:1413:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) { data/ruby3.0-3.0.0~preview1/vsnprintf.c:1027:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fieldsz = strlen(cp); data/ruby3.0-3.0.0~preview1/win32/file.c:210:20: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t file_len = wcslen(find_data.cFileName); data/ruby3.0-3.0.0~preview1/win32/file.c:217:6: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(buf, *wfullpath, trail_pos); data/ruby3.0-3.0.0~preview1/win32/file.c:222:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(*wfullpath + trail_pos, find_data.cFileName, file_len + 1); data/ruby3.0-3.0.0~preview1/win32/file.c:339:14: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). whome_len = wcslen(whome); data/ruby3.0-3.0.0~preview1/win32/file.c:421:18: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). whome_len = wcslen(whome); data/ruby3.0-3.0.0~preview1/win32/file.c:504:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(buffer_pos, whome, whome_len); data/ruby3.0-3.0.0~preview1/win32/file.c:523:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(buffer_pos, wdir_pos, wdir_len); data/ruby3.0-3.0.0~preview1/win32/file.c:535:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(buffer_pos, wpath_pos, wpath_len); data/ruby3.0-3.0.0~preview1/win32/win32.c:1025:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int i = strlen(interp) - 11; data/ruby3.0-3.0.0~preview1/win32/win32.c:1276:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(cmd); data/ruby3.0-3.0.0~preview1/win32/win32.c:1366:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t shell_len = strlen(shell); data/ruby3.0-3.0.0~preview1/win32/win32.c:1367:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tmp = ALLOCV(v, shell_len + strlen(cmd) + sizeof(" -c ") + 2); data/ruby3.0-3.0.0~preview1/win32/win32.c:1377:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tmp = ALLOCV(v, strlen(shell) + strlen(cmd) + sizeof(" /c ") + (nt ? 2 : 0)); data/ruby3.0-3.0.0~preview1/win32/win32.c:1377:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tmp = ALLOCV(v, strlen(shell) + strlen(cmd) + sizeof(" /c ") + (nt ? 2 : 0)); data/ruby3.0-3.0.0~preview1/win32/win32.c:1404:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). STRNDUPV(p, v2, cmd, len + (slash ? strlen(prog) : 0)); data/ruby3.0-3.0.0~preview1/win32/win32.c:1420:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(shell); data/ruby3.0-3.0.0~preview1/win32/win32.c:1431:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int alen = strlen(prog); data/ruby3.0-3.0.0~preview1/win32/win32.c:1506:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(prog); data/ruby3.0-3.0.0~preview1/win32/win32.c:1605:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpcurr->len = strlen(path); data/ruby3.0-3.0.0~preview1/win32/win32.c:2244:21: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. # error long should equal to int on Windows data/ruby3.0-3.0.0~preview1/win32/win32.c:2748:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove(p, p + 1, strlen(p)); data/ruby3.0-3.0.0~preview1/win32/win32.c:5203:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(name); data/ruby3.0-3.0.0~preview1/win32/win32.c:5225:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (env = uenvarea; *env; env += strlen(env) + 1) data/ruby3.0-3.0.0~preview1/win32/win32.c:6982:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef read data/ruby3.0-3.0.0~preview1/win32/win32.c:6988:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). DWORD read; data/ruby3.0-3.0.0~preview1/win32/win32.c:7045:51: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ReadFile((HANDLE)_osfhnd(fd), buf, len, &read, &ol)) { data/ruby3.0-3.0.0~preview1/win32/win32.c:7085:54: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!GetOverlappedResult((HANDLE)_osfhnd(fd), &ol, &read, TRUE) && data/ruby3.0-3.0.0~preview1/win32/win32.c:7103:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). finish_overlapped(&ol, fd, read); data/ruby3.0-3.0.0~preview1/win32/win32.c:7105:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret += read; data/ruby3.0-3.0.0~preview1/win32/win32.c:7106:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read >= len) { data/ruby3.0-3.0.0~preview1/win32/win32.c:7107:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). buf = (char *)buf + read; ANALYSIS SUMMARY: Hits = 2736 Lines analyzed = 942326 in approximately 30.60 seconds (30792 lines/second) Physical Source Lines of Code (SLOC) = 754886 Hits@level = [0] 1366 [1] 439 [2] 2007 [3] 123 [4] 141 [5] 26 Hits@level+ = [0+] 4102 [1+] 2736 [2+] 2297 [3+] 290 [4+] 167 [5+] 26 Hits/KSLOC@level+ = [0+] 5.43393 [1+] 3.62439 [2+] 3.04284 [3+] 0.384164 [4+] 0.221225 [5+] 0.0344423 Dot directories skipped = 2 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.