From: GNU Libc Maintainers Date: Sun, 25 Aug 2024 18:16:17 +0000 (+0200) Subject: git-fault-64bit X-Git-Tag: archive/raspbian/2.40-2+rpi1^2~56 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=45bd296ddcbc78b0858b364361aff7eef3cec9cf;p=glibc.git git-fault-64bit commit 11ad033e1c09c8b8e7bbaa72420f41ab8bcf0f63 Author: Flavio Cruz Date: Tue Jul 30 00:51:20 2024 -0400 x86_64 hurd: ensure we have a large enough buffer to receive exception_raise requests. Message-ID: Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-fault-64bit.diff --- diff --git a/hurd/hurdfault.c b/hurd/hurdfault.c index 5110c6030..1fe973f54 100644 --- a/hurd/hurdfault.c +++ b/hurd/hurdfault.c @@ -121,7 +121,14 @@ faulted (void) struct { mach_msg_header_t head; - char buf[64]; + /* This is the size of the exception_raise request + * including mach_msg_header_t. + * See generated code in faultexc_server.c. */ +#ifdef __LP64__ + char buf[112]; +#else + char buf[64]; +#endif } request; mig_reply_header_t reply; extern int _hurdsig_fault_exc_server (mach_msg_header_t *,