aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libSM/files/patch-src_sm__genid.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libSM/files/patch-src_sm__genid.c')
-rw-r--r--x11/libSM/files/patch-src_sm__genid.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/libSM/files/patch-src_sm__genid.c b/x11/libSM/files/patch-src_sm__genid.c
new file mode 100644
index 000000000000..92dd079bbe68
--- /dev/null
+++ b/x11/libSM/files/patch-src_sm__genid.c
@@ -0,0 +1,11 @@
+--- src/sm_genid.c.orig 2018-10-10 15:05:03 UTC
++++ src/sm_genid.c
+@@ -114,6 +114,8 @@ SmsGenerateClientID(SmsConn smsConn)
+ size_t len;
+
+ uuid_create(&uuid, &status);
++ if (status != uuid_s_ok)
++ return NULL;
+
+ uuid_to_string(&uuid, &temp, &status);
+