Bug #11416
closed
TestEncodingConverter#test_newline_option fails under GC stress
Added by nobu (Nobuyoshi Nakada) almost 9 years ago.
Updated over 8 years ago.
Description
rb_econv_t::source_encoding_name
and rb_econv_t::destination_encoding_name
refer dangling pointers, after creation.
- Status changed from Open to Closed
Applied in changeset r51488.
transcode.c: fix dangling pointers
- transcode.c (rb_econv_open0): rb_econv_t::source_encoding_name
and rb_econv_t::destination_encoding_name should refer static
strings always or NULL. [ruby-core:70247] [Bug #11416]
- Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE
r51488 and r51489 were backported into ruby_2_2
branch at r52784.
- Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE to 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE
ruby_2_1 r52798 merged revision(s) 51488,51489.
Also available in: Atom
PDF
Like0
Like0Like0Like0