aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/spice-CVE-2016-9578-1.patch
diff options
context:
space:
mode:
authorAndy Patterson <ajpatter@uwaterloo.ca>2017-12-02 17:23:27 -0500
committerLeo Famulari <leo@famulari.name>2017-12-04 14:05:23 -0500
commitb142756d9c6a2dd6936b7175f120846190f52aaa (patch)
tree237ab5cc2d0f405e1559fbbd2d44add78b795ff0 /gnu/packages/patches/spice-CVE-2016-9578-1.patch
parent982caeab6f33ac7956e97c86426177b5d90cf180 (diff)
downloadguix-b142756d9c6a2dd6936b7175f120846190f52aaa.tar
guix-b142756d9c6a2dd6936b7175f120846190f52aaa.tar.gz
gnu: spice: Update to 0.14.0.
This is a follow-up to commit 9a187b39b7991463aa6985f5b746fccf69789525. * gnu/packages/spice.scm (spice): Update to 0.14.0. [source]: Remove obsolete patches. Use HTTPS URL. [inputs]: Add orc. [home-page]: Update to use https. * gnu/packages/patches/spice-CVE-2016-9577.patch, gnu/packages/patches/spice-CVE-2016-9578-1.patch, gnu/packages/patches/spice-CVE-2016-9578-2.patch, gnu/packages/patches/spice-CVE-2017-7506.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Remove them.
Diffstat (limited to 'gnu/packages/patches/spice-CVE-2016-9578-1.patch')
-rw-r--r--gnu/packages/patches/spice-CVE-2016-9578-1.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/gnu/packages/patches/spice-CVE-2016-9578-1.patch b/gnu/packages/patches/spice-CVE-2016-9578-1.patch
deleted file mode 100644
index f86cdb4eb1..0000000000
--- a/gnu/packages/patches/spice-CVE-2016-9578-1.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Prevent possible DoS during protocol handshake.
-
-https://bugzilla.redhat.com/show_bug.cgi?id=1399566
-https://access.redhat.com/security/cve/CVE-2016-9578
-https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9578
-https://security-tracker.debian.org/tracker/CVE-2016-9578
-
-Patch copied from upstream source repository:
-
-https://cgit.freedesktop.org/spice/spice/commit/?h=0.12&id=f66dc643635518e53dfbe5262f814a64eec54e4a
-
-From 1c6517973095a67c8cb57f3550fc1298404ab556 Mon Sep 17 00:00:00 2001
-From: Frediano Ziglio <fziglio@redhat.com>
-Date: Tue, 13 Dec 2016 14:39:48 +0000
-Subject: Prevent possible DoS attempts during protocol handshake
-
-diff --git a/server/reds.c b/server/reds.c
-index f40b65c..86a33d5 100644
---- a/server/reds.c
-+++ b/server/reds.c
-@@ -2202,7 +2202,8 @@ static void reds_handle_read_header_done(void *opaque)
-
- reds->peer_minor_version = header->minor_version;
-
-- if (header->size < sizeof(SpiceLinkMess)) {
-+ /* the check for 4096 is to avoid clients to cause arbitrary big memory allocations */
-+ if (header->size < sizeof(SpiceLinkMess) || header->size > 4096) {
- reds_send_link_error(link, SPICE_LINK_ERR_INVALID_DATA);
- spice_warning("bad size %u", header->size);
- reds_link_free(link);
---
-cgit v0.10.2
-