4 ms·
Hunting Down the Ruby 'Inplace' Bug
- andreareina 6y agoargv getting GC'd is surprising, isn't it implicitly part of the environment?
- CGamesPlay 6y agoHmm, is that because ruby is able to analyze the program statically and determine that the variable isn't referenced?
- Vogtinator 6y agoThe script isn't execve'd, but read by ruby, and the shebang parsed to get the parameters. So it's not actually ruby's argv, but just the argv from the parsed shebang.
- igravious 6y agoIt'd surprise me!
- db48x 6y agoGood explanation of the bug, but sadly no details on how they tracked it down.