diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-15 04:52:39 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-15 04:52:39 +0000 |
commit | 27b09bd55acf92a54b6b8eb2d34fe8ef3d2a0c6a (patch) | |
tree | 7eab386e843b1995852b91b060c0c9a6a1f82a71 /ccan/check_type | |
parent | 0a6a0829c4a9ee74e171ff817af0a7624f599fbc (diff) | |
download | ruby-27b09bd55acf92a54b6b8eb2d34fe8ef3d2a0c6a.tar.gz |
fix uninitialized memory reference.
* compile.c (iseq_set_sequence): clear kwargs (in ci_entries) memory area.
kwargs ci entries are initialized by compiler. However, sometimes these
initializations are skipped because corresponding calls are eliminated
by some optimizations (for example, `if true` syntax elimnates else code).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ccan/check_type')
0 files changed, 0 insertions, 0 deletions