mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fixed stack overflow [Bug #16382]
Get rid of infinite recursion in expanding a load path to the real path while loading a transcoder.
This commit is contained in:
parent
8bddf1bc9b
commit
14a17063a1
Notes:
git
2019-12-03 10:16:57 +09:00
4 changed files with 31 additions and 19 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);
|
||||
#ifdef RUBY_ENCODING_H
|
||||
VALUE rb_check_realpath(VALUE basedir, VALUE path, rb_encoding *origenc);
|
||||
#endif
|
||||
void rb_file_const(const char*, VALUE);
|
||||
int rb_file_load_ok(const char *);
|
||||
VALUE rb_file_expand_path_fast(VALUE, VALUE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue