[ruby-cvs:62385] usa:r55222 (trunk): * ext/socket/raddrinfo.c (host_str, port_str): Use StringValueCStr

usa at ruby-lang.org usa at ruby-lang.org
Tue May 31 00:33:06 JST 2016


usa	2016-05-31 00:33:06 +0900 (Tue, 31 May 2016)

  New Revision: 55222

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

  Log:
    * ext/socket/raddrinfo.c (host_str, port_str): Use StringValueCStr
      instead of (Safe)StringValue, to detect NUL byte in the string.

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/raddrinfo.c
    trunk/test/socket/test_addrinfo.rb


More information about the ruby-cvs mailing list