diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-07 16:20:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-07 16:20:55 +0000 |
commit | 8ca2f8565dace585513b92300fefc5935667e924 (patch) | |
tree | 5df5377c14fe62bb7b5800def55235aa823bbfe0 /lib/resolv.rb | |
parent | 93cf7aac7fce4b2c0d885f8e8ba098a55c674e70 (diff) | |
download | ruby-8ca2f8565dace585513b92300fefc5935667e924.tar.gz |
ruby.c: check argc
* ruby.c (proc_options): check argc before dereference of argv, to get
rid of potential out-of-bound access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/resolv.rb')
0 files changed, 0 insertions, 0 deletions