mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 07:48:14 +08:00
fc97e5cbb2
A new bug in macOS 11.0db6 20A5364e has broken the {CTL_KERN, KERN_PROCARGS2} sysctl such that it will not work properly unless provided with a buffer at least 17 bytes larger than originally indicated. Work around the bug by providing a buffer a whole 32 bytes larger. Bug: crashpad:347, crashpad:355 Test: crashpad_util_test ProcessInfo.{Self,SelfTask,Forked} Change-Id: I9324a63390875308979a10fefcd4c1c880651aee Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2399646 Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>