summaryrefslogtreecommitdiff
path: root/lib/timeout
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-19 11:25:11 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-21 16:52:39 +0900
commit2bbc06e21d040ecbf4e32d3c4805685baf957d51 (patch)
treeeab0eb55f77c40ff114bfd0f2177d5dcfa0a1403 /lib/timeout
parentc04363c0a09d1e9cd03ff2e5cf6dd83e87a8a90c (diff)
merge revision(s) d209e6f1c0a93ad3ce1cc64dd165a6b67672614d: [Backport #21715]ruby_3_4
[PATCH] search_nonascii(): Replace UB pointer cast with memcpy Casting a pointer to create an unaligned one is undefined behavior in C standards. Use memcpy to express the unaligned load instead to play by the rules. Practically, this yields the same binary output in many situations while fixing the crash in [Bug #21715].
Diffstat (limited to 'lib/timeout')
0 files changed, 0 insertions, 0 deletions