Project

General

Profile

« Previous | Next » 

Revision 8ccc1211

Added by mame (Yusuke Endoh) over 4 years ago

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)