Hello, In ./eth-multiplexer/multiplexer.c, the return value of the pthread_create function was not being checked; here is a patch that adds such a check.
Thanks, -- Mikhail Karpov
From 7c3d236a9a43acb13fe0c5962b3c71b4f6b994c5 Mon Sep 17 00:00:00 2001 From: Mikhail Karpov <[email protected]> Date: Wed, 11 Nov 2026 18:45:49 +0700 Subject: [PATCH 4/4] Added a check for the return value of pthread_create in eth-multiplexer/multiplexer.c --- eth-multiplexer/multiplexer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eth-multiplexer/multiplexer.c b/eth-multiplexer/multiplexer.c index b29d0ec..9ce0d0e 100644 --- a/eth-multiplexer/multiplexer.c +++ b/eth-multiplexer/multiplexer.c @@ -160,7 +160,10 @@ main (int argc, char *argv[]) error (1, 0, "must be started as a translator"); /* Run the multiplexer server in another thread. */ - pthread_create (&t, NULL, multiplexer_thread, NULL); + err = pthread_create (&t, NULL, multiplexer_thread, NULL); + if (err) + error (1, err, "Starting multiplexer thread failed"); + pthread_detach (t); err = maptime_map (0, 0, &multiplexer_maptime); -- 2.43.0
