Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
eb08b745 09/21/2026 12:01 PM peterzhu2118 (Peter Zhu)

[ruby/mmtk] Keep track of pending pages in RubyHeapTrigger

We need to keep track of pending pages in RubyHeapTrigger otherwise a large
allocation may cause infinite number of GCs to be ran since it will always
appear that we have enough space in the heap (and thus the heap won't grow)...

8befacf9 09/21/2026 09:14 AM eightbitraptor (Matt V-H)

Guard against oob read in rb_ary_aref1

When the array is shrunk during rb_arithmetic_sequence_beg_len_step,
ary_subseq_len returns -1. Return an empty array instead of passing the
negative length to ary_make_partial or ary_make_partial_step.

[Bug #22325]

09a5f2ef 09/21/2026 09:10 AM nobu (Nobuyoshi Nakada)

[ruby/fileutils] Add tests for FileUtils.touch

Fix https://github.com/ruby/fileutils/pull/177

https://github.com/ruby/fileutils/commit/86278df2f7

cf2b80c0 09/21/2026 08:58 AM nobu (Nobuyoshi Nakada)

[ruby/fileutils] Workaround for symlink bug on Windows

Fixed by ruby/ruby#17545.

https://github.com/ruby/fileutils/commit/9e957c2330

d4d07867 09/21/2026 06:29 AM peterzhu2118 (Peter Zhu)

Fix out-of-bounds access in String#byteindex/byterindex

If the source string is modified when converting offset to an integer,
then there could be an out-of-bounds access because the length of the
string is captured before to_int is called. For example, the following...

647e6e61 09/21/2026 03:07 AM Nobuyoshi Nakada

[ruby/fileutils] Remove redundant condition

Since Process.uid returns 0 always on mingw or mswin, root_in_posix? returns true too.

https://github.com/ruby/fileutils/commit/d18fbf0c56

be820c30 09/21/2026 03:07 AM Jiaying Song

[ruby/fileutils] Skip test_rm_r_no_permissions test under root

Skip the test_rm_r_no_permissions test under the root user, as deletion always succeeds.

Signed-off-by: Jiaying Song

https://github.com/ruby/fileutils/commit/3c831389c5

508ee642 09/21/2026 03:05 AM takano32 (Mitsuhiro TAKANO)

[ruby/fileutils] Skip chown tests when the target group is not assignable

In user-namespace environments (e.g. ChromeOS Crostini) getgroups(2) can report supplementary groups such as the overflow GID 65534 (nobody) that a non-root process cannot actually chgrp a file to. TestFileUtils#setup built @groups straight from [Process.gid] | Process.groups, so the chown tests tried to chgrp to such a group and failed with EPERM instead of being skipped....

0cb17e33 09/21/2026 02:59 AM Nikita Vasilevsky

[ruby/fileutils] Remove unused fu_copy_stream0 helper

fu_copy_stream0 has had no caller since b26846bf replaced both uses with direct IO.copy_stream calls in 2008. The retained private wrapper is unreachable.

https://github.com/ruby/fileutils/commit/feba38f651

26f43967 09/21/2026 02:57 AM karreiro (Guilherme Carreiro)

[ruby/fileutils] Fix relative symlink target generation

https://github.com/ruby/fileutils/commit/7de921e801

View all revisions | View revisions

Also available in: Atom