[Webkit-unassigned] [Bug 173862] [GTK] Layout Test webrtc/video.html issues "stack smashing detected"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 26 22:07:36 PDT 2017


--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Created attachment 313896

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

WIP patch

It seems that g_object_get needs to be passed an int pointer instread of a bool pointer.
WIP patch solved the stack smashing.

But, there are other similar codes using g_object_get and bool pointers.

> bool MediaPlayerPrivateGStreamerBase::muted() const
> {
>     if (!m_volumeElement)
>         return false;
>     bool muted;
>     g_object_get(m_volumeElement.get(), "mute", &muted, nullptr);
>     return muted;
> }

Does anyone have any thought?

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/20170627/6fc8b3c7/attachment-0001.html>

More information about the webkit-unassigned mailing list