https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112012-11-24T00:00:57ZRuby Issue Tracking SystemRuby master - Bug #7423: ruby_process_options() dereferences argv even if argc is zerohttps://redmine.ruby-lang.org/issues/7423?journal_id=336632012-11-24T00:00:57Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r37823.<br>
Graham, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>ruby.c: argv check</p>
<ul>
<li>ruby.c (proc_options, process_options, ruby_process_options): take<br>
care of the case argc is 0, and check if argv has NULL.<br>
<a href="/issues/7423">[ruby-core:49889]</a> [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: ruby_process_options() dereferences argv even if argc is zero (Closed)" href="https://redmine.ruby-lang.org/issues/7423">#7423</a>]</li>
</ul> Ruby master - Bug #7423: ruby_process_options() dereferences argv even if argc is zerohttps://redmine.ruby-lang.org/issues/7423?journal_id=392512013-05-11T22:29:23ZRolandH (Roland Hautz)roland@hautz.de
<ul></ul><p>This bug fix is neither on the (complete) Roadmap nor reported under the "Bugs unassociated with any target version". I'm afraid it should be reopened in order to get on the radar for a release.</p>