Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 2 Apr 2020 03:56:58 +0000
From: "wangjianjian (C)" <wangjianjian3@...wei.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
CC: "Songyunlong (Euler)" <yunlong.song@...wei.com>
Subject: [PATCH] atexit: Unlock after executing exit functions

>From 0bf59dbec10f1267419696ee5b3aa9ace1379ee2 Mon Sep 17 00:00:00 2001
From: Wang Jianjian <wangjianjian3@...wei.com>
Date: Thu, 2 Apr 2020 11:51:13 +0800
Subject: [PATCH] atexit: Unlock after executing exit functions

Signed-off-by: Wang Jianjian <wangjianjian3@...wei.com>
---
 src/exit/atexit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/exit/atexit.c b/src/exit/atexit.c
index 160d277a..d30db5df 100644
--- a/src/exit/atexit.c
+++ b/src/exit/atexit.c
@@ -27,6 +27,7 @@ void __funcs_on_exit()
 		func(arg);
 		LOCK(lock);
 	}
+	UNLOCK(lock);
 }
 
 void __cxa_finalize(void *dso)
-- 
2.17.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.