Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 86fbb6c7dafe2bb7bb60e991ad84df6a5a9afe4f
      
https://github.com/WebKit/WebKit/commit/86fbb6c7dafe2bb7bb60e991ad84df6a5a9afe4f
  Author: Michael Catanzaro <[email protected]>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionState.cpp

  Log Message:
  -----------
  [WPE][GTK] g_variant_builder_add_value: assertion 'GVSB(builder)->offset < 
GVSB(builder)->max_items' failed when encoding session state
https://bugs.webkit.org/show_bug.cgi?id=274964

Reviewed by Carlos Garcia Campos.

When we encode the array of HTTP body elements, we have the open and
close calls in the wrong place, such that it breaks if there are ever
more than just one element.

We could probably add a test for this, but it's not too likely to
regress, and I didn't want to spend too long trying to work on that.

* Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionState.cpp:
(encodeHTTPBody):

Canonical link: https://commits.webkit.org/279649@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to