summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-16 14:26:48 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-01-16 14:26:48 +0900
commitd8c21d0780e0fc061a396e66d25b7b87de3108a4 (patch)
tree3d1039aecc46da54464e9aeaf842c4197506d79e /lib
parent10876c271b4ced81d852f532231ff87bd14defc9 (diff)
merge revision(s) d209e6f1c0a93ad3ce1cc64dd165a6b67672614d: [Backport #21715]ruby_3_3
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')
0 files changed, 0 insertions, 0 deletions
cing [ci skip]Nobuyoshi Nakada 2021-01-13Check stack overflow in recursive glob_helper [Bug #17162]Nobuyoshi Nakada Notes: Merged: https://github.com/ruby/ruby/pull/4053 2021-01-12Remove "." and ".." from Dir.glob with FNM_DOTMATCH [Bug #17280]Nobuyoshi Nakada Co-authored-by: Jeremy Evans <code@jeremyevans.net> Notes: Merged: https://github.com/ruby/ruby/pull/4052 2020-12-24dir.c: chdir conflict should raise only when called in different threadYusuke Endoh ... and keep it as a warning (like 2.7) when it is called in the same thread. [Bug #15661] Notes: Merged: https://github.com/ruby/ruby/pull/3990 2020-12-02Revert "Removed deprecated Dir.exists? and File.exists?"Nobuyoshi Nakada This reverts commit 1a5205536f0c0d6021450b11722919211847df86. 2020-12-02Removed deprecated Dir.exists? and File.exists?Nobuyoshi Nakada 2020-09-28Switch conflicting chdir warning to RuntimeErrorJeremy Evans The documentation already stated this was an error in one case (when it was previously a warning). Describe the other case, where chdir without block is called inside block passed to chdir. Fixes [Bug #15661] Notes: Merged: https://github.com/ruby/ruby/pull/3591 2020-08-15RARRAY_AREF: convert into an inline function卜部昌平 RARRAY_AREF has been a macro for reasons. We might not be able to change that for public APIs, but why not relax the situation internally to make it an inline function. Notes: Merged: https://github.com/ruby/ruby/pull/3419