-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault in mrb_str_format #3347
Comments
CRuby causes an exceptoin for the format string.
|
matz
added a commit
that referenced
this issue
Dec 17, 2016
hsbt
pushed a commit
to ruby/ruby
that referenced
this issue
Dec 17, 2016
* sprintf.c (rb_str_format): fix memory corruption by width underflow. mruby/mruby#3347 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt
pushed a commit
to ruby/ruby
that referenced
this issue
Dec 27, 2016
sprintf.c: fix width underflow * sprintf.c (rb_str_format): fix memory corruption by width underflow. mruby/mruby#3347 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@57219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt
pushed a commit
to ruby/ruby
that referenced
this issue
Jan 16, 2017
sprintf.c: fix width underflow * sprintf.c (rb_str_format): fix memory corruption by width underflow. mruby/mruby#3347 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following input causes a segfault in
mrb_str_format
:This issue was reported by https://hackerone.com/haquaman, who suggested the following patch:
The text was updated successfully, but these errors were encountered: