<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>226824</bug_id>
          
          <creation_ts>2021-06-09 09:17:28 -0700</creation_ts>
          <short_desc>[GTK] Unitialized memory read from NativeWebWheelEvent</short_desc>
          <delta_ts>2021-06-09 09:17:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1768201</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2021-06-09 09:17:28 -0700</bug_when>
    <thetext>==793346== Syscall param sendmsg(msg.msg_iov[1]) points to uninitialised byte(s)
==793346==    at 0x5990ACD: sendmsg (in /usr/lib64/libc-2.33.so)
==793346==    by 0x6AA9F03: IPC::Connection::sendOutputMessage(IPC::UnixMessage&amp;) (ConnectionUnix.cpp:536)
==793346==    by 0x6AABE99: IPC::Connection::sendOutgoingMessage(WTF::UniqueRef&lt;IPC::Encoder&gt;&amp;&amp;) (ConnectionUnix.cpp:454)
==793346==    by 0x6A99047: IPC::Connection::sendOutgoingMessages() [clone .part.0] (Connection.cpp:932)
==793346==    by 0xA940735: operator() (Function.h:82)
==793346==    by 0xA940735: WTF::RunLoop::performWork() (RunLoop.cpp:133)
==793346==    by 0xA995928: operator() (RunLoopGLib.cpp:80)
==793346==    by 0xA995928: WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) (RunLoopGLib.cpp:82)
==793346==    by 0xA99625E: operator() (RunLoopGLib.cpp:53)
==793346==    by 0xA99625E: WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) (RunLoopGLib.cpp:56)
==793346==    by 0x55FAE37: g_main_dispatch (gmain.c:3344)
==793346==    by 0x55FBD8A: g_main_context_dispatch (gmain.c:4062)
==793346==    by 0x55FBF76: g_main_context_iterate (gmain.c:4138)
==793346==    by 0x55FC413: g_main_loop_run (gmain.c:4336)
==793346==    by 0xA99637F: WTF::RunLoop::run() (RunLoopGLib.cpp:108)
==793346==  Address 0xf86453a is 74 bytes inside a block of size 576 alloc&apos;d
==793346==    at 0x484086F: malloc (vg_replace_malloc.c:380)
==793346==    by 0xA99C33A: bmalloc::DebugHeap::malloc(unsigned long, bmalloc::FailureAction) (DebugHeap.cpp:98)
==793346==    by 0x6B3F26B: operator new (Encoder.h:44)
==793346==    by 0x6B3F26B: WTF::UniqueRef&lt;IPC::Encoder&gt; WTF::makeUniqueRefWithoutFastMallocCheck&lt;IPC::Encoder, IPC::MessageName, unsigned long&amp;&gt;(IPC::MessageName&amp;&amp;, unsigned long&amp;) [clone .isra.0] (UniqueRef.h:38)
==793346==    by 0x6B475C2: makeUniqueRef&lt;IPC::Encoder, IPC::MessageName, long unsigned int&amp;&gt; (UniqueRef.h:45)
==793346==    by 0x6B475C2: send&lt;Messages::EventDispatcher::WheelEvent&gt; (MessageSender.h:47)
==793346==    by 0x6B475C2: WebKit::WebPageProxy::sendWheelEvent(WebKit::WebWheelEvent const&amp;) (WebPageProxy.cpp:2848)
==793346==    by 0x6B50767: WebKit::WebPageProxy::handleWheelEvent(WebKit::NativeWebWheelEvent const&amp;) (WebPageProxy.cpp:2814)
==793346==    by 0x6C44B79: webkitWebViewBaseHandleWheelEvent (WebKitWebViewBase.cpp:1283)
==793346==    by 0x6C44B79: webkitWebViewBaseScrollEvent(_GtkWidget*, _GdkEventScroll*) (WebKitWebViewBase.cpp:1317)
==793346==    by 0x4A5DA3E: _gtk_marshal_BOOLEAN__BOXEDv (gtkmarshalers.c:130)
==793346==    by 0x554AF45: g_type_class_meta_marshalv (gclosure.c:1034)
==793346==    by 0x554AA98: _g_closure_invoke_va (gclosure.c:873)
==793346==    by 0x55684F7: g_signal_emit_valist (gsignal.c:3406)
==793346==    by 0x5569789: g_signal_emit (gsignal.c:3553)
==793346==    by 0x4E3CFFE: gtk_widget_event_internal (gtkwidget.c:7808)
==793346==  Uninitialised value was created by a stack allocation
==793346==    at 0x6B0A7D0: WebKit::NativeWebWheelEvent::NativeWebWheelEvent(WebKit::NativeWebWheelEvent const&amp;) (NativeWebWheelEventGtk.cpp:57)

Unfortunately I don&apos;t see where it&apos;s coming from.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>