mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-06 20:23:56 +00:00
HandlerMain() consumes argv[0] as the name for itself. Arguments before the class name are consumed by app_process when using a Java handler. Re-insert app_process for HandlerMain() to consume as the program name or else it will consume the next real argument. Bug: chromium:1011145 Change-Id: Id7090db36cc382a9fdba49b9259dbbce3a9bcc5c Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1841974 Commit-Queue: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>