Actions
Bug #9771
closedSYM2ID(Qnil)
    Bug #9771:
    SYM2ID(Qnil)
  
Description
ext/openssl/ossl_asn1.c:ossl_asn1_initialize() allows Qnil as tagging since r31699.
But SYM2ID() is defined for T_SYMBOL values only.
        
           Updated by nobu (Nobuyoshi Nakada) over 11 years ago
          Updated by nobu (Nobuyoshi Nakada) over 11 years ago
          
          
        
        
      
      - 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]
        
           Updated by usa (Usaku NAKAMURA) over 11 years ago
          Updated by usa (Usaku NAKAMURA) over 11 years ago
          
          
        
        
      
      - Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE, 2.1: REQUIRED
backported into ruby_2_0_0 at r46200.
        
           Updated by nagachika (Tomoyuki Chikanaga) over 11 years ago
          Updated by nagachika (Tomoyuki Chikanaga) over 11 years ago
          
          
        
        
      
      - Backport changed from 2.0.0: DONE, 2.1: REQUIRED to 2.0.0: DONE, 2.1: DONE
r45701 was backported into ruby_2_1 branch at r46214.
Actions