Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3fb72872a03ade4008d5c358ebefc6b60e1ea111
      
https://github.com/WebKit/WebKit/commit/3fb72872a03ade4008d5c358ebefc6b60e1ea111
  Author: Per Arne Vollan <[email protected]>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in

  Log Message:
  -----------
  Fix sandbox compilation error related to empty parameters
https://bugs.webkit.org/show_bug.cgi?id=268916
rdar://88915314

Reviewed by David Kilzer and Brent Fulgham.

On rare occasions, see https://bugs.webkit.org/show_bug.cgi?id=222233 for more 
details, the sandbox string
parameters provided to the Networking process' sandbox can be empty. This will 
cause the compilation of the
sandbox to fail, and the Networking process will crash on startup being unable 
to apply the sandbox. We can
guard against this in the sandbox by checking the string length of the 
parameters. We already do this for
the GPU process and WebContent process.

* Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to