General

Profile

zophos (Takao NISHI)

Issues

Activity

02/26/2010

11:13 PM Ruby 1.8 Bug #2794: Aborted (core dumped) BUG on Ruby/DL
=begin
p DL.strdup("\x0"*1024)
#<DL::PtrData:0x100dd208 ptr=0x100dd1f8 size=1024 free=0x69e08e20>

とsizeが1024と...
zophos (Takao NISHI)
01:37 PM Ruby 1.8 Bug #2794 (Closed): Aborted (core dumped) BUG on Ruby/DL
=begin
以下のコードでcore dumpします。
----
$ ruby -rdl/import -e 's=DL.strdup("\0"*1024);s[0,1023]="\xff"'
*** glibc det...
zophos (Takao NISHI)

Also available in: Atom