[Webkit-unassigned] [Bug 220668] New: Syscall param sendmsg(msg.msg_iov[1]) points to uninitialised byte(s) in IPC::Connection::sendOutgoingMessage
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 15 13:48:24 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220668
Bug ID: 220668
Summary: Syscall param sendmsg(msg.msg_iov[1]) points to
uninitialised byte(s) in
IPC::Connection::sendOutgoingMessage
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at gnome.org
CC: bugs-noreply at webkitgtk.org
This is a follow-up to bug #146729. We previously discovered that we need to either (a) manually zero the MessageInfo struct with memcpy (accepted solution), or b) use __attribute__((packed)) to omit struct packing. This seemed to fix our valgrind warnings when bmalloc was in use, but not when bmalloc is disabled, as is good practice when valgrinding.
Turns out we need to zero (or pack) the AttachmentInfo struct as well. Let's go with zeroing it, since it is a trivially-copyable type, so it's safe to do.
--
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/20210115/4fa7b180/attachment.htm>
More information about the webkit-unassigned
mailing list