This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/4542: _M_construct_name in locale_facets.tcc uses variable array size
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/4542: _M_construct_name in locale_facets.tcc uses variable array size
- From: brendan at zen dot org
- Date: 11 Oct 2001 15:04:02 -0000
- Reply-To: brendan at zen dot org
>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<int>, for instance.
>Release-Note:
>Audit-Trail:
>Unformatted: