[ruby-cvs:70458] shyouhei:r63368 (trunk): RSTRING_PTR is not guaranteed to be VALUE-aligned (retry)

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Wed May 9 14:42:06 JST 2018


shyouhei	2018-05-09 14:42:06 +0900 (Wed, 09 May 2018)

  New Revision: 63368

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

  Log:
    RSTRING_PTR is not guaranteed to be VALUE-aligned (retry)
    
    Don't abuse struct RString to hold arbitrary memory region.
    Raw pointer should just suffice.

  Modified files:
    trunk/compile.c
    trunk/iseq.c
    trunk/iseq.h
    trunk/vm_core.h


More information about the ruby-cvs mailing list