https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112013-07-14T16:32:28ZRuby Issue Tracking SystemRuby master - Bug #8634: Segfault with sprintf of force_encoding('UTF-16LE') on Windowshttps://redmine.ruby-lang.org/issues/8634?journal_id=404942013-07-14T16:32:28Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Category</strong> set to <i>core</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>nobu (Nobuyoshi Nakada)</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>5</i></li><li><strong>Target version</strong> set to <i>2.1.0</i></li><li><strong>Backport</strong> changed from <i>1.9.3: UNKNOWN, 2.0.0: UNKNOWN</i> to <i>1.9.3: DONTNEED, 2.0.0: DONTNEED</i></li></ul><p>fixing.</p> Ruby master - Bug #8634: Segfault with sprintf of force_encoding('UTF-16LE') on Windowshttps://redmine.ruby-lang.org/issues/8634?journal_id=404962013-07-15T02:21:43Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</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 r41967.<br>
Heesob, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>string.c: consider old terminator</p>
<ul>
<li>string.c (str_fill_term): consider old terminator length, and should<br>
not use rb_enc_ascget since it depends on the current encoding which<br>
may not be compatible with the new terminator. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Segfault with sprintf of force_encoding('UTF-16LE') on Windows (Closed)" href="https://redmine.ruby-lang.org/issues/8634">#8634</a>]</li>
</ul>