Keep libpath length non-negative [Bug #16784]
When runtime_libruby_path does not include '/', it attempts to call rb_str_resize with negative length. This change makes sure that the length non-negative. Co-Authored-By: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
This commit is contained in:
parent
261b746dca
commit
8ccc12118e
Loading…
x
Reference in New Issue
Block a user