diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-12-03 08:12:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-12-03 08:51:50 +0900 |
commit | 14a17063a11a01d518b4bbaf0eb967330aec3984 () | |
tree | 5cc6a25e09b593f2bc5a66bef09b35f823075ebd /internal.h | |
parent | 8bddf1bc9bdd1db7ce2e3fec15f2f06ff355b0a7 (diff) |
Fixed stack overflow [Bug #16382]
Get rid of infinite recursion in expanding a load path to the real path while loading a transcoder.
Notes: Merged: https://.com/ruby/ruby/pull/2714
-rw-r--r-- | internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1583,7 +1583,9 @@ extern const char ruby_null_device[]; VALUE rb_home_dir_of(VALUE user, VALUE result); VALUE rb_default_home_dir(VALUE result); VALUE rb_realpath_internal(VALUE basedir, VALUE path, int strict); -VALUE rb_check_realpath(VALUE basedir, VALUE path); void rb_file_const(const char*, VALUE); int rb_file_load_ok(const char *); VALUE rb_file_expand_path_fast(VALUE, VALUE); |