aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-07 05:48:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-07 05:48:15 +0000
commit72f8df158f68581bcb4484330abab1ae8cf7acc7 (patch)
tree43c1dfd4d2c94e5f24c67dab03fe74a0b89d748e /internal.h
parenta298301baafd18be58bc51c42eb234de03d6b420 (diff)
downloadruby-72f8df158f68581bcb4484330abab1ae8cf7acc7.tar.gz
string.c: fix integer overflow
* string.c (rb_str_subpos): fix integer overflow which can happen only when SHARABLE_MIDDLE_SUBSTRING is enabled. incorpolate https://github.com/mruby/mruby/commit/7db0786abdd243ba031e24683f git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions