Project

General

Profile

« Previous | Next » 

Revision 43959

merge revision(s) 43853: [Backport #9157]

* file.c (rb_readlink): fix buffer overflow on a long symlink. since
  rb_str_modify_expand() expands from its length but not its capacity,
  need to set the length properly for each expansion.
  [ruby-core:58592] [Bug #9157]