Project

General

Profile

« Previous | Next » 

Revision d5c33364

Added by nobu (Nobuyoshi Nakada) about 6 years ago

Fixed heap-use-after-free

  • string.c (rb_str_sub_bang): retrieves a pointer to the
    replacement string buffer just before using it, for the case of
    replacement with the receiver string itself. [Bug #16105]