summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hardened/xorg/x11-base/xorg-server/files/1.2.0-client-leak.patch')
-rw-r--r--hardened/xorg/x11-base/xorg-server/files/1.2.0-client-leak.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/hardened/xorg/x11-base/xorg-server/files/1.2.0-client-leak.patch b/hardened/xorg/x11-base/xorg-server/files/1.2.0-client-leak.patch
new file mode 100644
index 0000000..02e52db
--- /dev/null
+++ b/hardened/xorg/x11-base/xorg-server/files/1.2.0-client-leak.patch
@@ -0,0 +1,11 @@
+--- a/os/connection.c
++++ b/os/connection.c
+@@ -1066,6 +1066,8 @@ CloseDownConnection(ClientPtr client)
+ XdmcpCloseDisplay(oc->fd);
+ #endif
+ CloseDownFileDescriptor(oc);
++ FreeOsBuffers(oc);
++ xfree(client->osPrivate);
+ client->osPrivate = (pointer)NULL;
+ if (auditTrailLevel > 1)
+ AuditF("client %d disconnected\n", client->index);