Project

General

Profile

« Previous | Next » 

Revision 0f37c951

Added by nobu (Nobuyoshi Nakada) almost 13 years ago

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