[ruby-cvs:49816] nobu:r42674 (trunk): win32ole.c: ID overflow

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Aug 23 23:09:50 JST 2013


nobu	2013-08-23 23:09:49 +0900 (Fri, 23 Aug 2013)

  New Revision: 42674

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

  Log:
    win32ole.c: ID overflow
    
    * ext/win32ole/win32ole.c (GetIDsOfNames): check ID overflow against
      DISPID, aka LONG, which is always 4 bytes.
    
    * ext/win32ole/win32ole.c (Invoke): use ID for method name to get rid
      of losing upper bits.

  Modified files:
    trunk/ext/win32ole/win32ole.c


More information about the ruby-cvs mailing list