From mboxrd@z Thu Jan 1 00:00:00 1970 From: brendan@zen.org To: gcc-gnats@gcc.gnu.org Subject: libstdc++/4542: _M_construct_name in locale_facets.tcc uses variable array size Date: Thu, 11 Oct 2001 08:06:00 -0000 Message-id: <20011011150402.17582.qmail@sourceware.cygnus.com> X-SW-Source: 2001-10/msg00224.html List-Id: >Number: 4542 >Category: libstdc++ >Synopsis: _M_construct_name in locale_facets.tcc uses variable array size >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Oct 11 08:06:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Brendan Kehoe >Release: CVS tree >Organization: >Environment: >Description: In bits/locale_facets.tcc, the method time_get<>::_M_extract_name has a definition of the array `__matches' using variable array size based on the method's __indexlen parameter. >How-To-Repeat: >Fix: Change __matches to be vector, for instance. >Release-Note: >Audit-Trail: >Unformatted: