Skip to content

Conversation

@casperisfine
Copy link
Contributor

This limit was introduced on Nov 20 1996
in 554b989

Apparently to protect from a buffer overflow:

  • eval.c (f_missing): オブジェクトの文字列表現が長すぎる時バッファ
    を書き潰していた

However I tested that path with very large strings
and it works fine.

See https://bugs.ruby-lang.org/issues/16832 for more context

@tenderlove
Copy link
Member

Can you add a test and I will merge? We should test 66 and probably 121.

This limit was introduced on Nov 20 1996
in 554b989

Apparently to protect from a buffer overflow:

  * eval.c (f_missing): オブジェクトの文字列表現が長すぎる時バッファ
	  を書き潰していた

However I tested that path with very large strings
and it works fine.
@casperisfine casperisfine force-pushed the remove-outdated-name-error-limitation branch from 1b99a16 to 8e202a8 Compare May 11, 2020 08:35
@casperisfine
Copy link
Contributor Author

@tenderlove done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants