diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-01-03 16:35:52 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-01-03 16:35:52 +0000 |
commit | 917b1d5a888a0bdf10541dd8d7de0f187f0d3893 (patch) | |
tree | c545d77e76a29f3beb03689be55ec87615b51b99 /net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch | |
parent | New ebuild thanks to Martin von Gagern <Martin.vGagern@gmx.net>, n0ne <baal.k... (diff) | |
download | gentoo-2-917b1d5a888a0bdf10541dd8d7de0f187f0d3893.tar.gz gentoo-2-917b1d5a888a0bdf10541dd8d7de0f187f0d3893.tar.bz2 gentoo-2-917b1d5a888a0bdf10541dd8d7de0f187f0d3893.zip |
cleanups; replace hotplug with coldplug"
Diffstat (limited to 'net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch')
-rw-r--r-- | net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch b/net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch deleted file mode 100644 index 04ab3f2e08e4..000000000000 --- a/net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- cupsys-1.1.20final+rc1/scheduler/dirsvc.c.OLD 2004-05-27 11:04:32.000000000 -0700 -+++ cupsys-1.1.20final+rc1/scheduler/dirsvc.c 2004-08-20 19:20:08.000000000 -0700 -@@ -1093,7 +1093,7 @@ - int auth; /* Authorization status */ - int len; /* Length of name string */ - int bytes; /* Number of bytes left */ -- char packet[1540], /* Broadcast packet */ -+ char packet[1541], /* Broadcast packet */ - *pptr; /* Pointer into packet */ - struct sockaddr_in srcaddr; /* Source address */ - char srcname[1024]; /* Source hostname */ -@@ -1118,8 +1118,8 @@ - */ - - len = sizeof(srcaddr); -- if ((bytes = recvfrom(BrowseSocket, packet, sizeof(packet), 0, -- (struct sockaddr *)&srcaddr, &len)) <= 0) -+ if ((bytes = recvfrom(BrowseSocket, packet, sizeof(packet)-1, 0, -+ (struct sockaddr *)&srcaddr, &len)) < 0) - { - /* - * "Connection refused" is returned under Linux if the destination port |