[ruby-cvs:70463] shyouhei:r63373 (trunk): RSTRING_PTR is not guaranteed to be VALUE-aligned

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Wed May 9 16:46:11 JST 2018


shyouhei	2018-05-09 16:46:11 +0900 (Wed, 09 May 2018)

  New Revision: 63373

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

  Log:
    RSTRING_PTR is not guaranteed to be VALUE-aligned
    
    Don't abuse struct RString to hold arbitrary memory region.
    Thanks to @mame we now have rb_imemo_alloc_auto_free_pointer
    so use it instead.

  Modified files:
    trunk/process.c


More information about the ruby-cvs mailing list