summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/icecat-CVE-2014-8641.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/icecat-CVE-2014-8641.patch')
-rw-r--r--gnu/packages/patches/icecat-CVE-2014-8641.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/patches/icecat-CVE-2014-8641.patch b/gnu/packages/patches/icecat-CVE-2014-8641.patch
new file mode 100644
index 0000000000..ec42861945
--- /dev/null
+++ b/gnu/packages/patches/icecat-CVE-2014-8641.patch
@@ -0,0 +1,29 @@
+From e36a3dd359ff0ac9c8796d41bedc884218d479e7 Mon Sep 17 00:00:00 2001
+From: Paul Adenot <paul@paul.cx>
+Date: Tue, 16 Dec 2014 18:45:40 +0100
+Subject: [PATCH] Bug 1108455. r=kinetik, a=sledru
+
+---
+ media/libcubeb/src/cubeb_wasapi.cpp | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/media/libcubeb/src/cubeb_wasapi.cpp b/media/libcubeb/src/cubeb_wasapi.cpp
+index 135aa86..5387a4f 100644
+--- a/media/libcubeb/src/cubeb_wasapi.cpp
++++ b/media/libcubeb/src/cubeb_wasapi.cpp
+@@ -365,10 +365,8 @@ wasapi_stream_render_loop(LPVOID stream)
+ assert(padding <= stm->buffer_frame_count);
+
+ if (stm->draining) {
+- if (padding == 0) {
+- stm->state_callback(stm, stm->user_ptr, CUBEB_STATE_DRAINED);
+- is_playing = false;
+- }
++ stm->state_callback(stm, stm->user_ptr, CUBEB_STATE_DRAINED);
++ is_playing = false;
+ continue;
+ }
+
+--
+2.1.2
+