Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c7049f692987334218626be65f4fd2a375058d2
      
https://github.com/WebKit/WebKit/commit/2c7049f692987334218626be65f4fd2a375058d2
  Author: Don Olmstead <[email protected]>
  Date:   2023-03-04 (Sat, 04 Mar 2023)

  Changed paths:
    M Source/WebKit/Shared/unix/AuxiliaryProcessMain.cpp

  Log Message:
  -----------
  Check for null argument in AuxiliaryProcessMainCommon
https://bugs.webkit.org/show_bug.cgi?id=253356

Reviewed by Michael Catanzaro.

When starting up a process programmatically on PlayStation an additional
argument is passed into `main` but the value in `argv` is actually null.
This causes a crash when `ENABLE(DEVELOPER_MODE)` is `ON`.

Just check the value's existence before sending it to `strcmp`.

* Source/WebKit/Shared/unix/AuxiliaryProcessMain.cpp:

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


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

Reply via email to