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 /ChangeLog | |
parent | 6e46c0485022917576837a3daafa3e05a9d1166f (diff) | |
download | ruby-0f37c95134cf66b03fa81de743884e301d871685.tar.gz |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Dec 1 15:05:30 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * dir.c (glob_helper): use NAMLEN() to tell the length of d_name + instead of strlen(), which can access beyond the boundary. + Sat Dec 1 13:48:13 2012 Eric Hodel <drbrain@segment7.net> * lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATH |