[Webkit-unassigned] [Bug 23501] Overlapping memcpy in TestDecoder::reset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 27 09:19:34 PST 2009


darin at apple.com changed:

           What    |Removed                     |Added
  Attachment #27074|review?                     |review-
               Flag|                            |

------- Comment #2 from darin at apple.com  2009-01-27 09:19 PDT -------
(From update of attachment 27074)
This is the wrong level to fix this at. The TextEncoding class's assignment
operator needs to deal with this. Generally, C++ allows you to self-assign, and
it's the assignment operator's responsibility to deal with that.

I don't see how memcpy is involved at all in the compiler-generated assignment
operator. A TextEncoding has a single data member, a const char*, so I can't
imagine how memcpy gets involved. Is this something specific to some particular
platform? Perhaps you're using a misconfigured development tool that is
complaining about something that's not a real problem.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list