diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-09-16 13:55:11 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-09-16 13:55:11 +0000 |
commit | 4c0dc4da1c26cacb2ff4688a8c7235d5906951e0 (patch) | |
tree | dcc7b156fcfd3ba08fc99e15a4e7f099693e5e61 /net-print/cups/files | |
parent | Fixed use invocation; bug #64260. (Manifest recommit) (diff) | |
download | gentoo-2-4c0dc4da1c26cacb2ff4688a8c7235d5906951e0.tar.gz gentoo-2-4c0dc4da1c26cacb2ff4688a8c7235d5906951e0.tar.bz2 gentoo-2-4c0dc4da1c26cacb2ff4688a8c7235d5906951e0.zip |
version bump; fix security bug in 1.1.20, bug #64168
Diffstat (limited to 'net-print/cups/files')
-rw-r--r-- | net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch | 22 | ||||
-rw-r--r-- | net-print/cups/files/digest-cups-1.1.20-r2 | 1 | ||||
-rw-r--r-- | net-print/cups/files/digest-cups-1.1.21 | 1 | ||||
-rw-r--r-- | net-print/cups/files/digest-cups-1.1.21_rc2 | 1 |
4 files changed, 24 insertions, 1 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 new file mode 100644 index 000000000000..04ab3f2e08e4 --- /dev/null +++ b/net-print/cups/files/cups-1.1.20-zero-len-udp-dos.patch @@ -0,0 +1,22 @@ +--- 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 diff --git a/net-print/cups/files/digest-cups-1.1.20-r2 b/net-print/cups/files/digest-cups-1.1.20-r2 new file mode 100644 index 000000000000..002ebb34be36 --- /dev/null +++ b/net-print/cups/files/digest-cups-1.1.20-r2 @@ -0,0 +1 @@ +MD5 09d0be2bad1b0617bc0eba6eef81f6e9 cups-1.1.20-source.tar.bz2 3741510 diff --git a/net-print/cups/files/digest-cups-1.1.21 b/net-print/cups/files/digest-cups-1.1.21 new file mode 100644 index 000000000000..71015b6895ef --- /dev/null +++ b/net-print/cups/files/digest-cups-1.1.21 @@ -0,0 +1 @@ +MD5 54e9b0d9c0bdb45b956f88c14793ef65 cups-1.1.21-source.tar.bz2 8549181 diff --git a/net-print/cups/files/digest-cups-1.1.21_rc2 b/net-print/cups/files/digest-cups-1.1.21_rc2 deleted file mode 100644 index 9a91ee140041..000000000000 --- a/net-print/cups/files/digest-cups-1.1.21_rc2 +++ /dev/null @@ -1 +0,0 @@ -MD5 7532f7dc5ef7870bb49d65299f99906d cups-1.1.21rc2-source.tar.bz2 3867630 |