libstdc++/8790: Use of non thread-safe strtok in src/localename.cc

pcarlini@unitus.it pcarlini@unitus.it
Mon Dec 2 16:06:00 GMT 2002


>Number:         8790
>Category:       libstdc++
>Synopsis:       Use of non thread-safe strtok in src/localename.cc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 02 16:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paolo Carlini
>Release:        gcc-3.2.1
>Organization:
>Environment:
Any
>Description:
locale::_Impl::_Impl was recently modified in the context
of the Posix names work (see 2002-10-16 commits). However, unfortunately, strtok is *not* thread-safe.
This is a regression wrt the much limited but thread-safe
implementation present in 3.2. 
>How-To-Repeat:

>Fix:
Already fixed in mainline. See 2002-11-25 and 2002-11-28
commits.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list