summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-11-26 21:59:37 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2025-12-16 13:06:03 -0500
commitd209e6f1c0a93ad3ce1cc64dd165a6b67672614d (patch)
tree6217c896e2de8f91e657e09e0b066dda6f431a35 /test/ruby/test_lambda.rb
parenta8ba2b295b73a116d24fe5602d892d4a2042cd08 (diff)
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 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions