pespin has uploaded this change for review.
xua_msg: Drop __thread attribute on static buf
libosmo-sigtran is not thread safe, and hence makes no sense to have
only this static buffer (out of dozens declared) as TLS.
Related: OS#7061
Change-Id: Ia023b8df32494bc705326106753f17e7eeaf89cf
---
M src/xua_msg.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/61/43761/1
diff --git a/src/xua_msg.c b/src/xua_msg.c
index 61281c4..122f6bc 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -357,7 +357,7 @@
const char *xua_msg_part_get_str(const struct xua_msg_part *part)
{
- static char __thread buf[256];
+ static char buf[256];
if (part->len == 0)
return "";
To view, visit change 43761. To unsubscribe, or for help writing mail filters, visit settings.