[webkit-changes] [WebKit/WebKit] 2c7049: Check for null argument in AuxiliaryProcessMainCommon
Don Olmstead
noreply at github.com
Sat Mar 4 01:00:09 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2c7049f692987334218626be65f4fd2a375058d2
https://github.com/WebKit/WebKit/commit/2c7049f692987334218626be65f4fd2a375058d2
Author: Don Olmstead <don.olmstead at sony.com>
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
More information about the webkit-changes
mailing list