mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch to close server fd if there is no space in thread inflight fd list.
This commit is contained in:
parent
1637f56db9
commit
2789fdcece
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -23,6 +23,7 @@ wine-compholio (1.7.31) UNRELEASED; urgency=low
|
||||
* Added patch to avoid sending window messages in FindWindowExW.
|
||||
* Added patch to fix handling of invert_y in DrawTextExW.
|
||||
* Added patch to fix implementation of K32GetPerformanceInfo.
|
||||
* Added patch to close server fd if there is no space in thread inflight fd list.
|
||||
* Removed patch for iphlpapi stub functions (accepted upstream).
|
||||
* Removed patches for FindFirstFileExW (accepted upstream).
|
||||
* Removed patches for TLB dependencies lookup in resources (accepted upstream).
|
||||
|
@ -80,6 +80,7 @@ PATCHLIST := \
|
||||
server-ACL_Compat.ok \
|
||||
server-Address_Change_Notification.ok \
|
||||
server-CreateProcess_ACLs.ok \
|
||||
server-Fix_Leak.ok \
|
||||
server-Inherited_ACLs.ok \
|
||||
server-Misc_ACL.ok \
|
||||
server-OpenProcess.ok \
|
||||
@ -1362,6 +1363,21 @@ server-CreateProcess_ACLs.ok:
|
||||
echo '+ { "server-CreateProcess_ACLs", "Joris van der Wel / Sebastian Lackner", "Implement passing ACLs to CreateProcess. [rev 2]" },'; \
|
||||
) > server-CreateProcess_ACLs.ok
|
||||
|
||||
# Patchset server-Fix_Leak
|
||||
# |
|
||||
# | Included patches:
|
||||
# | * Close server fd if there is no space in thread inflight fd list. [by Sebastian Lackner]
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * server/thread.c
|
||||
# |
|
||||
.INTERMEDIATE: server-Fix_Leak.ok
|
||||
server-Fix_Leak.ok:
|
||||
$(call APPLY_FILE,server-Fix_Leak/0001-server-Close-fd-if-there-is-no-space-in-thread-infli.patch)
|
||||
@( \
|
||||
echo '+ { "server-Fix_Leak", "Sebastian Lackner", "Close server fd if there is no space in thread inflight fd list." },'; \
|
||||
) > server-Fix_Leak.ok
|
||||
|
||||
# Patchset server-Inherited_ACLs
|
||||
# |
|
||||
# | Included patches:
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 3df51527f28634f01e0f4f3af284544885d98e99 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sat, 15 Nov 2014 01:04:29 +0100
|
||||
Subject: server: Close fd if there is no space in thread inflight fd list.
|
||||
|
||||
---
|
||||
server/thread.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/server/thread.c b/server/thread.c
|
||||
index 50d6940..97860ee 100644
|
||||
--- a/server/thread.c
|
||||
+++ b/server/thread.c
|
||||
@@ -1047,6 +1047,8 @@ int thread_add_inflight_fd( struct thread *thread, int client, int server )
|
||||
thread->inflight[i].server = server;
|
||||
return i;
|
||||
}
|
||||
+
|
||||
+ close( server );
|
||||
return -1;
|
||||
}
|
||||
|
||||
--
|
||||
2.1.3
|
||||
|
3
patches/server-Fix_Leak/definition
Normal file
3
patches/server-Fix_Leak/definition
Normal file
@ -0,0 +1,3 @@
|
||||
Author: Sebastian Lackner
|
||||
Subject: Close server fd if there is no space in thread inflight fd list.
|
||||
Revision: 1
|
Loading…
Reference in New Issue
Block a user