From: nobu@... Date: 2014-04-24T02:53:37+00:00 Subject: [ruby-core:62143] [ruby-trunk - Bug #9771] [Closed] SYM2ID(Qnil) Issue #9771 has been updated by Nobuyoshi Nakada. Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r45701. ---------- ossl_asn1.c: fix undefined behavior * ext/openssl/ossl_asn1.c (ossl_asn1_initialize): SYMID on a value other than Symbol is an undefined behavior. fix up r31699. [ruby-core:62142] [Bug #9771] ---------------------------------------- Bug #9771: SYM2ID(Qnil) https://bugs.ruby-lang.org/issues/9771#change-46297 * Author: Nobuyoshi Nakada * Status: Closed * Priority: Normal * Assignee: * Category: ext * Target version: current: 2.2.0 * ruby -v: 1.9.3 or later * Backport: 2.0.0: REQUIRED, 2.1: REQUIRED ---------------------------------------- `ext/openssl/ossl_asn1.c:ossl_asn1_initialize()` allows `Qnil` as `tagging` since r31699. But `SYM2ID()` is defined for T_SYMBOL values only. -- https://bugs.ruby-lang.org/