Skip to content
Commit 67689f1a authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

browser-plugin: Prevent a copy when checking for valid extension UUIDs

Instead of using g_strndup to copy the NPString that gets passed to us
by the plugin host, just use the equally-as-good NPString directly. We
still need to copy the string when passing it over DBus, as there's no
easy way to construct a string GVariant from a length-prefixed string.

https://bugzilla.gnome.org/show_bug.cgi?id=679099
parent 48b83f1f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment