This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Prevent double free in basic_string
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: tlknv <tlknv at yandex dot ru>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 31 May 2012 18:45:55 +0200 (CEST)
- Subject: Re: Prevent double free in basic_string
- References: <8271338475020@web6g.yandex.ru>
- Reply-to: libstdc++ at gcc dot gnu dot org
On Thu, 31 May 2012, tlknv wrote:
I would like to propose a patch to
libstdc++-v3/include/bits/basic_string.h that solves the problem
described in the bug 21334 (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21334 ).
Hello,
correct me if I am wrong, but this patch doesn't aim to fix the issue,
just paper over the most likely case to reduce the likelihood of a race,
right?
--
Marc Glisse