[Webkit-unassigned] [Bug 230140] New: Use of memcpy with overlapping memory pointers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 17:33:47 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230140

            Bug ID: 230140
           Summary: Use of memcpy with overlapping memory pointers
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com

Problem introduced in bug 229251; the memory buffer content is shifted to the left; the use of memcpy under these circumstances is fine. But it triggers Asan "AddressSanitizer detected: memcpy-param-overlap"

Should change memcpy to memmove here to keep asan happy.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210910/353fe509/attachment.htm>


More information about the webkit-unassigned mailing list