[Webkit-unassigned] [Bug 146729] Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s) in IPC::Connection::sendOutgoingMessage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 19 04:53:40 PDT 2020


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

--- Comment #10 from Milan Crha <mcrha at redhat.com> ---
Created attachment 393967

  --> https://bugs.webkit.org/attachment.cgi?id=393967&action=review

debug patch

It seems to be the very first message. I added this debug patch and valgrind claims on the printf() for four times. Maybe some structure padding involved here? The msg_iov[0] is just:

    iov[0].iov_base = reinterpret_cast<void*>(&messageInfo);
    iov[0].iov_len = sizeof(messageInfo);

If I recall correctly, valgrind can remember issues and only add to the counter, not claiming about them again and again, thus it's possible it's every message, but valgrind doesn't claim, because it already reported the issue.

-- 
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/20200319/273e89c0/attachment-0001.htm>


More information about the webkit-unassigned mailing list