mattn / mruby-onig-regexp

mrbgem of 鬼雲's Regular Expression
31 stars 36 forks source link

Fix SEGV when `/abc/.match(nil, 1)` #88

Closed ksss closed 6 years ago

ksss commented 6 years ago

I found clash case because it call RSTRING_LEN() macro with nil object.

`/abc/.match(nil, 1)`
`/abc/.match?(nil, 1)`
mattn commented 6 years ago

Thanks