[Webkit-unassigned] [Bug 38630] VS2010 asserts a null iterator passed to std::copy in Vector::operator=
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 10 06:05:15 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38630
--- Comment #10 from Kent Tamura <tkent at chromium.org> 2010-05-10 06:05:14 PST ---
(From update of attachment 55545)
> @@ -677,14 +677,17 @@ namespace WTF {
> if (&other == this)
> return *this;
>
> - if (size() > other.size())
> + if (size() > other.size()) {
> shrink(other.size());
> - else if (other.size() > capacity()) {
> + return *this;
> + }
This branch just resizes 'this' and doesn't copy the content of 'other'.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list