pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins1-ugly prune patch for CVE-2017-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2102833f9d8e
branches:  trunk
changeset: 360092:2102833f9d8e
user:      snj <snj%pkgsrc.org@localhost>
date:      Tue Mar 21 08:00:26 2017 +0000

description:
prune patch for CVE-2017-5847, which is already part of 1.10.4.

diffstat:

 multimedia/gst-plugins1-ugly/distinfo                                 |   3 +-
 multimedia/gst-plugins1-ugly/patches/patch-gst_asfdemux_gstasfdemux.c |  36 ----------
 2 files changed, 1 insertions(+), 38 deletions(-)

diffs (53 lines):

diff -r 8ccda917eaee -r 2102833f9d8e multimedia/gst-plugins1-ugly/distinfo
--- a/multimedia/gst-plugins1-ugly/distinfo     Tue Mar 21 02:37:42 2017 +0000
+++ b/multimedia/gst-plugins1-ugly/distinfo     Tue Mar 21 08:00:26 2017 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.25 2017/03/16 14:35:23 wiz Exp $
+$NetBSD: distinfo,v 1.26 2017/03/21 08:00:26 snj Exp $
 
 SHA1 (gst-plugins-ugly-1.10.4.tar.xz) = a01ab3ac71bdd0d52e4a120349a8f26fde48f317
 RMD160 (gst-plugins-ugly-1.10.4.tar.xz) = f47d6fd3dfed385fdd9e389c6b7f23e856c31c15
 SHA512 (gst-plugins-ugly-1.10.4.tar.xz) = 7d8d47c7d5c3bfc7ae549abb6ee7f3812b9a46c114057d42eed46af03c6f1354d9190df9ba58ac810251dab87f95d128c754209961e3b62f5aa7bd9d88836cb6
 Size (gst-plugins-ugly-1.10.4.tar.xz) = 908424 bytes
 SHA1 (patch-configure) = 4bba5af550b211d45533ee001fb1bc77bcfa6213
-SHA1 (patch-gst_asfdemux_gstasfdemux.c) = 6ec643fbb59b27b87b2621a2b2aaff6a0c3939af
diff -r 8ccda917eaee -r 2102833f9d8e multimedia/gst-plugins1-ugly/patches/patch-gst_asfdemux_gstasfdemux.c
--- a/multimedia/gst-plugins1-ugly/patches/patch-gst_asfdemux_gstasfdemux.c     Tue Mar 21 02:37:42 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-gst_asfdemux_gstasfdemux.c,v 1.1 2017/03/06 08:01:40 snj Exp $
-
-CVE-2017-5847
-
-https://github.com/GStreamer/gst-plugins-ugly/commit/d21017b52a585f145e8d62781bcc1c5fefc7ee37
-
---- gst/asfdemux/gstasfdemux.c.orig    2017-01-30 05:41:35.000000000 -0800
-+++ gst/asfdemux/gstasfdemux.c 2017-03-05 23:45:12.000000000 -0800
-@@ -3439,7 +3439,12 @@ gst_asf_demux_process_ext_content_desc (
-           break;
-         }
-         case ASF_DEMUX_DATA_TYPE_DWORD:{
--          guint uint_val = GST_READ_UINT32_LE (value);
-+          guint uint_val;
-+
-+          if (value_len < 4)
-+            break;
-+
-+          uint_val = GST_READ_UINT32_LE (value);
- 
-           /* this is the track number */
-           g_value_init (&tag_value, G_TYPE_UINT);
-@@ -3453,7 +3458,12 @@ gst_asf_demux_process_ext_content_desc (
-         }
-           /* Detect 3D */
-         case ASF_DEMUX_DATA_TYPE_BOOL:{
--          gboolean bool_val = GST_READ_UINT32_LE (value);
-+          gboolean bool_val;
-+
-+          if (value_len < 4)
-+            break;
-+
-+          bool_val = GST_READ_UINT32_LE (value);
- 
-           if (strncmp ("Stereoscopic", name_utf8, strlen (name_utf8)) == 0) {
-             if (bool_val) {



Home | Main Index | Thread Index | Old Index