backport r40900 (fix invalid read by index underflow.)
なお r40900 だけだと conflict してすんなり merge できない模様。
Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r41065.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
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 '/'.