[Webkit-unassigned] [Bug 184325] New: fetch() with subresource integrity crashes on zero length body

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 4 18:07:12 PDT 2018


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

            Bug ID: 184325
           Summary: fetch() with subresource integrity crashes on zero
                    length body
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lars at ionic.io

If the 'integrity' option is used for the fetch() method it will cause a crash when the response has a zero length body. This is reproducible using:

fetch('https://httpbin.org/bytes/0', {integrity: 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='});

This affects at least Safari 11.1, Safari Technology Preview 53, and WebKit r230285.

-- 
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/20180405/b4a9d16f/attachment-0002.html>


More information about the webkit-unassigned mailing list