]> sourceware.org Git - glibc.git/commitdiff
x86_64 hurd: ensure we have a large enough buffer to receive exception_raise requests.
authorFlavio Cruz <flaviocruz@gmail.com>
Tue, 30 Jul 2024 04:51:20 +0000 (00:51 -0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 30 Jul 2024 14:59:12 +0000 (16:59 +0200)
Message-ID: <gtxd6s4s7fi7hdrlb7zayq3akij7x6jqawwq3zfl3v4nqspulo@euucuzeonrl6>

hurd/hurdfault.c

index 5110c6030f7c172b4141858b4f27243c173db596..1fe973f54dc623ed63da3c122b985ff342cd9c58 100644 (file)
@@ -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 *,
This page took 0.040725 seconds and 5 git commands to generate.