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

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Wed May 9 11:36:34 JST 2018


shyouhei	2018-05-09 11:36:34 +0900 (Wed, 09 May 2018)

  New Revision: 63362

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

  Log:
    RSTRING_PTR is not guaranteed to be VALUE-aligned
    
    Don't abuse struct RString to hold arbitrary memory region.
    use rb_alloc_tmp_buffer for that purpose.

  Modified files:
    trunk/iseq.h


More information about the ruby-cvs mailing list