Project

General

Profile

Actions

Bug #20598

closed

Corruption of internal encoding string

Added by peterzhu2118 (Peter Zhu) 6 months ago. Updated 6 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:118399]

Description

GitHub PR: https://github.com/ruby/ruby/pull/11068

Just like #20595, Encoding#name_list and Encoding#aliases can have their strings corrupted when Encoding.default_internal is set to nil.

Actions #1

Updated by peterzhu2118 (Peter Zhu) 6 months ago

  • Status changed from Open to Closed

Applied in changeset git|176c4bb3c7db87ca5b0486012cb6a005105448c5.


Fix corruption of internal encoding string

[Bug #20598]

Just like [Bug #20595], Encoding#name_list and Encoding#aliases can have
their strings corrupted when Encoding.default_internal is set to nil.

Co-authored-by: Matthew Valentine-House

Updated by k0kubun (Takashi Kokubun) 6 months ago

  • Backport changed from 3.1: DONTNEED, 3.2: DONTNEED, 3.3: REQUIRED to 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONE
Actions

Also available in: Atom PDF

Like0
Like0Like0