Bug 223189

Summary: [GTK][WPE] Stop using g_memdup
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, berto, bugs-noreply, calvaris, cdumez, cmarcelo, eric.carlson, ews-watchlist, glenn, gustavo, hta, jer.noble, menard, philipj, pnormand, sergio, tommyw, vjaquez
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch pnormand: review+

Carlos Garcia Campos
Reported 2021-03-15 10:00:07 PDT
It's deprecated in GLib now because of the possibility of overflow when converting from size_t to unsigned int.
Attachments
Patch (10.73 KB, patch)
2021-03-15 10:10 PDT, Carlos Garcia Campos
pnormand: review+
Carlos Garcia Campos
Comment 1 2021-03-15 10:10:15 PDT
EWS Watchlist
Comment 2 2021-03-15 10:11:24 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Carlos Garcia Campos
Comment 3 2021-03-16 08:07:25 PDT
Note You need to log in before you can comment on or make changes to this bug.