Prevent double free in basic_string

Marc Glisse marc.glisse@inria.fr
Thu May 31 16:46:00 GMT 2012


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



More information about the Libstdc++ mailing list