Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2017 14:44:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217200] std::make_shared does not perform zero initialization
Message-ID:  <bug-217200-8-qENieU8Hg7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217200-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217200-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217200

--- Comment #1 from commit-hook@freebsd.org ---
A commit references this bug:

Author: dim
Date: Sat Feb 18 14:44:14 UTC 2017
New revision: 313916
URL: https://svnweb.freebsd.org/changeset/base/313916

Log:
  Pull in r242377 from upstream libc++ trunk (by Marshall Clow):

    Make sure that __libcpp_compressed_pair_imp default-constructs its'
    members, rather than value-initializing them. Fixes PR#24137

  This ensures std::make_shared<>'s default constructor properly
  initializes to zero.

  Direct commit to stable/9 and stable/10, since stable/11 and head
  already have a newer version of libc++, including this fix.

  Reported by:  martin.beran@kernun.cz
  PR:           217200

Changes:
  stable/10/contrib/libc++/include/memory
  stable/9/contrib/libc++/include/memory

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217200-8-qENieU8Hg7>