Function digit_reader_base::to_ulong_ulong() incorrectly uses a static array pattern[]. (Doc ID 1559572.1)

Last updated on SEPTEMBER 15, 2013

Applies to:

Oracle Solaris Studio - Version Sun Studio 12 Update 1 to 12.3 [Release 12]
Information in this document applies to any platform.
This defect is against standard C++ libraries, as provided by libCstd.so or libCstd.a.
Specifically, an implementation of the digit_reader_base::to_ulong_ulong function.

Symptoms

The function digit_reader_base::to_ulong_ulong() incorrectly uses a static array pattern[].

This array gets shared by different threads and gets modified. Each thread ends up using the same instance of the array.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms