diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-01-19 11:23:42 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-01-19 11:23:42 +0900 |
| commit | 2051ac34b72e95de6049eb2d226e5a55024c83c7 (patch) | |
| tree | 35ba67dfc080c750023ccae1b5222f0ee4f45192 /lib/rdoc/generator/template/darkfish/fonts | |
| parent | a3a6d2578843474b0bc1d130ddaeccbfd8d23dfa (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/generator/template/darkfish/fonts')
0 files changed, 0 insertions, 0 deletions
