Actions
Bug #9856
closed[PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
Description
On my Linux system, these may return up to 64K rb_gid_t entries for
a total of 256K stack usage, potentially triggering SystemStackError
or just a segfault. Use ALLOCV_N for stack safety, especially since
these are not performance-critical methods.
Will commit in a day or two.
Files
Actions
Like0
Like0Like0Like0