diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 06:05:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-01 06:05:33 +0000 |
commit | 0f37c95134cf66b03fa81de743884e301d871685 (patch) | |
tree | 8552138a0f429f4ae1e6c565714320d690b08e4c /eval_intern.h | |
parent | 6e46c0485022917576837a3daafa3e05a9d1166f (diff) |
dir.c: use NAMLEN
* dir.c (glob_helper): use NAMLEN() to tell the length of d_name
instead of strlen(), which can access beyond the boundary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
0 files changed, 0 insertions, 0 deletions