diff options
| author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-04 14:47:15 +0000 |
|---|---|---|
| committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-04 14:47:15 +0000 |
| commit | 90490d673211f523f27ffc5c79d15deb05d31967 (patch) | |
| tree | e1629abe31922bda9e71943f04ebd2f64fd49e29 /include/ruby | |
| parent | 205b5c9cd64a5a0d5f104159e919e82a03b10cb4 (diff) | |
merge revision(s) 39637,40900: [Backport #8440]
load.c: reorder conditions
* load.c (loaded_feature_path): reorder conditions so simple
comparision comes first.
* load.c (loaded_feature_path): fix invalid read by index underflow.
the beginning of name is also a boundary as well as just after '/'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
