summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-27 11:14:32 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-27 11:14:32 +0000
commitf82b0a39eaa1ac262db0093f441289678530e351 (patch)
tree2f8f736ae18699fb620d2bc9f76920a3ed17df73 /ChangeLog
parent33b3645611cf7bee83d8d5ac9d4373b33f7fff85 (diff)
merge revision(s) 57123: [Backport #13054]
re.c: consider the case of RMatch::regexp is nil Follow r49675, r57098 and r57110. Don't assume RMatch::regexp always contains a valid Regexp instance; it will be Qnil if the MatchData is created by rb_backref_set_string(). [ruby-core:78741] [Bug #13054] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@57221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ebbd84262..d90a4fdcad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Tue Dec 27 20:13:12 2016 Kazuki Yamaguchi <k@rhe.jp>
+
+ * re.c (match_{names,hash,equal}): consider the case of RMatch::regexp
+ is nil.
+
+ Don't assume RMatch::regexp always contains a valid Regexp instance;
+ it will be Qnil if the MatchData is created by
+ rb_backref_set_string(). [Bug #13054]
+
Tue Dec 27 20:02:43 2016 Kazuki Yamaguchi <k@rhe.jp>
* array.c (rb_ary_{repeated_,}combination): check array length every