[Webkit-unassigned] [Bug 242518] IPC::Connection::sendOutputMessage(IPC::UnixMessage&) Syscall param sendmsg(msg.msg_iov[2]) points to uninitialised byte(s)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 8 17:04:59 PDT 2022


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

Yusuke Suzuki <ysuzuki at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ysuzuki at apple.com

--- Comment #11 from Yusuke Suzuki <ysuzuki at apple.com> ---
(In reply to James Hilliard from comment #8)
> If I'm reading the trace right...it looks like something relating to part of
> layerTreeContext being uninitialized might be the issue?
> 
> https://github.com/WebKit/WebKit/blob/
> e4ff5dfc94ce873599833e9fbfcbe130b2ce3c9f/Source/WebKit/WebProcess/WebPage/
> CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp#L565
> 
> It looks like the uninitialized bytes originate from that function scope:
> ==137==  Uninitialised value was created by a stack allocation
> ==137==    at 0xEFF7EA8:
> WebKit::DrawingAreaCoordinatedGraphics::sendDidUpdateBackingStoreState()
> (DrawingAreaCoordinatedGraphics.cpp:529)

layerTreeContext is initialized (see LayerTreeContext constructor).
UpdateInfo has uninitialized part and valgrind is reporting it, but it does not affect on the behavior.

-- 
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/20220709/8bd99dff/attachment-0001.htm>


More information about the webkit-unassigned mailing list