Prevent double free in basic_string

Marc Glisse
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 ( 
> ).


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, 

Marc Glisse

More information about the Libstdc++ mailing list