[ruby-core:71730] [Ruby trunk - Bug #11416] TestEncodingConverter#test_newline_option fails under GC stress

From: nagachika00@...
Date: 2015-11-29 07:44:49 UTC
List: ruby-core #71730
Issue #11416 has been updated by Tomoyuki Chikanaga.

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.

----------------------------------------
Bug #11416: TestEncodingConverter#test_newline_option fails under GC stress
https://bugs.ruby-lang.org/issues/11416#change-55134

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE
----------------------------------------
`rb_econv_t::source_encoding_name` and `rb_econv_t::destination_encoding_name` refer dangling pointers, after creation.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next