Project

General

Profile

« Previous | Next » 

Revision 339e11a7

Added by U.Nakamura over 9 years ago

merge revision(s): 53153 and 23405@ruby_1_9_1

    * ext/fiddle/handle.c: check tainted string arguments.
      Patch provided by tenderlove and nobu.

    * test/fiddle/test_handle.rb (class TestHandle): add test for above.

    * ext/dl/handle.c (rb_dlhandle_initialize): prohibits DL::dlopen
      with a tainted name of library.
      Patch by sheepman <sheepman AT sheepman.sakura.ne.jp>.

    * ext/dl/handle.c (rb_dlhandle_sym): ditto

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