diff options
| author | Samuel Thibault <sthibault@debian.org> | 2008-07-22 02:54:21 +0000 |
|---|---|---|
| committer | Samuel Thibault <sthibault@debian.org> | 2008-07-22 02:54:21 +0000 |
| commit | 9dcd4bcb48b289130560fe52c1506d3f4e601c07 (patch) | |
| tree | 65aafc9b1c914fdfc9c8ae99d7c639d1524271a0 /debian | |
| parent | b1df5f1b22f23c28fda074ffe3228fce88c6e667 (diff) | |
* debian/patches/pflocal-port-leak.patch: New patch to fix a port leak in
pflocal which was making tcl-related builds hang.
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 4 | ||||
| -rw-r--r-- | debian/patches/pflocal-port-leak.patch | 36 |
2 files changed, 39 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 179bdb46..df10c613 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ hurd (20080607-4) UNRELEASED; urgency=low - * + [Samuel Thibault] + * debian/patches/pflocal-port-leak.patch: New patch to fix a port leak in + pflocal which was making tcl-related builds hang. -- Michael Banck <mbanck@debian.org> Sat, 12 Jul 2008 16:45:36 +0200 diff --git a/debian/patches/pflocal-port-leak.patch b/debian/patches/pflocal-port-leak.patch new file mode 100644 index 00000000..c967e8e5 --- /dev/null +++ b/debian/patches/pflocal-port-leak.patch @@ -0,0 +1,36 @@ +2008-07-22 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * pf.c (S_socket_fabricate_address): Drop one reference from addr since + we only take the send right. + * socket.c (S_socket_name): Likewise. + +Index: pflocal/pf.c +=================================================================== +RCS file: /cvsroot/hurd/hurd/pflocal/pf.c,v +retrieving revision 1.15 +diff -u -p -r1.15 pf.c +--- pflocal/pf.c 9 Aug 2000 21:13:53 -0000 1.15 ++++ pflocal/pf.c 22 Jul 2008 00:54:47 -0000 +@@ -108,6 +108,7 @@ S_socket_fabricate_address (mach_port_t + + *addr_port = ports_get_right (addr); + *addr_port_type = MACH_MSG_TYPE_MAKE_SEND; ++ ports_port_deref (addr); + + return 0; + } +Index: pflocal/socket.c +=================================================================== +RCS file: /cvsroot/hurd/hurd/pflocal/socket.c,v +retrieving revision 1.24 +diff -u -p -r1.24 socket.c +--- pflocal/socket.c 29 Aug 2005 09:41:21 -0000 1.24 ++++ pflocal/socket.c 22 Jul 2008 00:54:47 -0000 +@@ -245,6 +245,7 @@ S_socket_name (struct sock_user *user, + + *addr_port = ports_get_right (addr); + *addr_port_type = MACH_MSG_TYPE_MAKE_SEND; ++ ports_port_deref (addr); + + return 0; + } |
