Actions
Bug #9856
closed[PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
    Bug #9856:
    [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
        
        
     Updated by Anonymous
          Updated by Anonymous