From: Mike Hommey Date: Sat, 12 Nov 2022 13:01:42 +0000 (+0100) Subject: Bug 1782988 - Fix use of arc4random_buf use in ping.cpp. r=gsvelto X-Git-Tag: archive/raspbian/1%102.5.1-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=84c135af84eda50f27574e28a3d06163fbe1e477;p=thunderbird.git Bug 1782988 - Fix use of arc4random_buf use in ping.cpp. r=gsvelto Forwarded: https://bugzilla.mozilla.org/show_bug.cgi?id=1782988 Gbp-Pq: Topic fixes Gbp-Pq: Name Bug-1782988-Fix-use-of-arc4random_buf-use-in-ping.cpp.-r-.patch --- diff --git a/toolkit/crashreporter/client/ping.cpp b/toolkit/crashreporter/client/ping.cpp index 49c6e2b736..0d80384198 100644 --- a/toolkit/crashreporter/client/ping.cpp +++ b/toolkit/crashreporter/client/ping.cpp @@ -53,7 +53,7 @@ static string GenerateUUID() { CFRelease(uuid); #elif defined(HAVE_ARC4RANDOM_BUF) // Android, BSD, ... - arc4random_buf(id, sizeof(UUID)); + arc4random_buf(&id, sizeof(UUID)); #else // Linux int fd = open("/dev/urandom", O_RDONLY);