[Webkit-unassigned] [Bug 211131] [WPE][GTK] Paths should be canonicalized before calling bwrap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 30 05:00:55 PDT 2023


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

Philippe Normand <philn at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philn at igalia.com

--- Comment #14 from Philippe Normand <philn at igalia.com> ---
Comment on attachment 453026
  --> https://bugs.webkit.org/attachment.cgi?id=453026
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=453026&action=review

> Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:173
> +    if (path != realPath) {
> +        CString rpath = realPath.utf8();
> +        args.appendVector(Vector<CString>({ bindOption, rpath.data(), rpath.data() }));
> +    }

I don't understand this, path and realPath will be equal if path has no symlink, so path won't be bound at all in the sandbox. Was that really the intent here?

-- 
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/20230630/f289c0b5/attachment.htm>


More information about the webkit-unassigned mailing list