diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-09 02:36:34 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-09 02:36:34 +0000 |
commit | 7079db9ec5acef3321e92c32d7ef086d8d16d720 (patch) | |
tree | e077a699dc51b89c0dd95d871998f032bbe49ad6 /dmydln.c | |
parent | 6061071f4060cf83e877ea9090d1b5a4f09b2856 (diff) | |
download | ruby-7079db9ec5acef3321e92c32d7ef086d8d16d720.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dmydln.c')
0 files changed, 0 insertions, 0 deletions