diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-02 08:22:19 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-02 08:22:19 +0000 |
| commit | aa1acf1d4282d44ddfa677d24b7c3c1e951467d6 (patch) | |
| tree | 24f9cbcf9aa83bd8a13279706c46d7977769f4c6 /include/ruby/debug.h | |
| parent | 263ce88f9f2f713273e628bcef64e5f13cdbc2ff (diff) | |
encoding.c: validate index
* encoding.c (rb_enc_set_index, rb_enc_associate_index): validate
argument encoding index.
* include/ruby/encoding.h (ENCODING_SET): use rb_enc_set_index()
instead of setting inlined bits directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
