[Webkit-unassigned] [Bug 187139] New: [Web Animations] Crash in KeyframeEffectReadOnly::applyPendingAcceleratedActions()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 28 06:24:38 PDT 2018


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

            Bug ID: 187139
           Summary: [Web Animations] Crash in
                    KeyframeEffectReadOnly::applyPendingAcceleratedActions
                    ()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: dino at apple.com, graouts at apple.com,
                    mcatanzaro at igalia.com, zan at falconsigh.net

This is yet another crash in animations code due to nullopt value being used without check. This is very easy to reproduce for me just visiting gitlab.gnome.org. The workaround as usual is easy:

-    auto timeOffset = animation()->currentTime().value().seconds();
+    auto timeOffset = animation()->currentTime().value_or(0_s).seconds();

but I guess that's not the right fix.

-- 
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/20180628/af582bb3/attachment-0001.html>


More information about the webkit-unassigned mailing list