Check pos and strlen on Regexp#index(str, pos) [ruby-core:23660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9681409e36
commit
6a3931e0f6
@ -1,3 +1,8 @@
|
||||
Tue Jul 14 17:29:20 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_index_m): return nil if pos is out of string.
|
||||
[ruby-core:23660]
|
||||
|
||||
Tue Jul 14 16:13:04 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (rb_io_initialize): check if the descriptor can be accessed
|
||||
|
Loading…
x
Reference in New Issue
Block a user