libstdc++/4503: __enc_traits destructor crashes if initialisation failed

bkoz@gcc.gnu.org bkoz@gcc.gnu.org
Thu Oct 25 23:46:00 GMT 2001


Synopsis: __enc_traits destructor crashes if initialisation failed

Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Thu Oct 25 23:46:29 2001
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Thu Oct 25 23:46:29 2001
State-Changed-Why:
    2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
    
    	libstdc++/4503
    	* config/locale/codecvt_specializations_ieee_1003.1-200x.h: Fix.
    
    
    
    I fixed this in mainline CVS, gcc-3.1. I will confess that the error handling strategy for __enc_traits is a bit up in the air. 
    
    I'm not quite sure what to do when the iconv descriptor's can't be opened, or fail. 
    
    In the meantime, thanks!
    
    -benjamin

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4503&database=gcc



More information about the Gcc-prs mailing list