summaryrefslogtreecommitdiff
path: root/lib/rdoc/mixin.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-19 11:23:42 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-19 11:23:42 +0900
commit2051ac34b72e95de6049eb2d226e5a55024c83c7 (patch)
tree35ba67dfc080c750023ccae1b5222f0ee4f45192 /lib/rdoc/mixin.rb
parenta3a6d2578843474b0bc1d130ddaeccbfd8d23dfa (diff)
merge revision(s) d209e6f1c0a93ad3ce1cc64dd165a6b67672614d: [Backport #21715]ruby_3_2
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/rdoc/mixin.rb')
0 files changed, 0 insertions, 0 deletions