Bug#140201: libstdc++3: race condition in libstdc++3 (basic_string.tcc)
Package: libstdc++3
Version: 1:3.0.3-1
Severity: normal
The function basic_string::_M_leak_hard() in basic_string.tcc is not
thread-safe. The reference count is read with _M_is_shared() and
then written with _M_set_leaked(), non-atomically. (This is only a
bug if the string class is supposed to be thread-safe. I haven't found
an explicit statement that it is, but most of the string operations
are written to be thread-safe.)
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux galaxy 2.4.14-pre6 #1 Thu Nov 1 02:23:35 PST 2001 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libstdc++3 depends on:
ii gcc-3.0-base 1:3.0.3-1 The GNU Compiler Collection (base
ii libc6 2.2.5-3 GNU C Library: Shared libraries an
ii libgcc1 1:3.0.3-1 GCC support library.
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: