[ruby-cvs:56078] nobu:r48928 (trunk): registry.rb: fix buffer overflow

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 23 17:58:55 JST 2014


nobu	2014-12-23 17:58:53 +0900 (Tue, 23 Dec 2014)

  New Revision: 48928

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48928

  Log:
    registry.rb: fix buffer overflow
    
    * ext/win32/lib/win32/registry.rb (Win32::Registry::Error#initialize):
      should not re-use sliced string as buffer, to get rid of buffer
      overflow.  [ruby-core:65295] [Bug #10300]

  Modified files:
    trunk/ext/win32/lib/win32/registry.rb


More information about the ruby-cvs mailing list