diff options
| author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-15 00:40:38 +0000 |
|---|---|---|
| committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-15 00:40:38 +0000 |
| commit | c7fa2bf56820dc06c6771852380d5d3fe6157896 (patch) | |
| tree | 958214bb5fa7fb8ca4302036f4b5a0764a268494 /spec | |
| parent | 6479a0163aa798ae379962c6b52f6410b11995cc (diff) | |
ext/coverage/coverage.c (rb_coverage_start): Ensure `opt` is a hash
Ensure `opt` is a hash before using `rb_hash_lookup` to `opt`.
This will prevent SEGV when an inappropriate object (i.e. an array)
is passed to `opt`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions
