Project

General

Profile

« Previous | Next » 

Revision 276af3af

Added by U.Nakamura about 11 years ago

merge revision(s) 45287:

    process.c: tmp buffer instead of alloca

    * process.c (OBJ2UID1, OBJ2GID1): separate from OBJ2UID and

OBJ2GID respectively, need given buffers.

    * process.c (OBJ2UID, OBJ2GID): no longer need PREPARE_GETPWNAM

and PREPARE_GETGRNAM.

    * process.c (obj2uid, obj2gid): use tmp buffer instead of alloca

to get rid of potential stack overflow.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e