pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2021Q3] pkgsrc/multimedia



Module Name:    pkgsrc
Committed By:   tm
Date:           Sat Oct 16 18:09:25 UTC 2021

Modified Files:
        pkgsrc/multimedia/libmediainfo [pkgsrc-2021Q3]: Makefile
        pkgsrc/multimedia/mediainfo [pkgsrc-2021Q3]: Makefile distinfo
Added Files:
        pkgsrc/multimedia/mediainfo/patches [pkgsrc-2021Q3]:
            patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp
            patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp

Log Message:
Pullup ticket #6516 - requested by wiz
multimedia/libmediainfo: security fix
multimedia/mediainfo: security fix

Revisions pulled up:
- multimedia/libmediainfo/Makefile                              1.8
- multimedia/mediainfo/Makefile                                 1.15
- multimedia/mediainfo/distinfo                                 1.17
- multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp 1.1
- multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp 1.1

---
   Module Name: pkgsrc
   Committed By:        wiz
   Date:                Thu Oct 14 07:03:02 UTC 2021

   Modified Files:
        pkgsrc/multimedia/libmediainfo: Makefile
        pkgsrc/multimedia/mediainfo: Makefile distinfo
   Added Files:
        pkgsrc/multimedia/mediainfo/patches:
            patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp
            patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp

   Log Message:
   medainfo: fix two CVEs using upstream patches

   Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.12.1 pkgsrc/multimedia/libmediainfo/Makefile
cvs rdiff -u -r1.14 -r1.14.50.1 pkgsrc/multimedia/mediainfo/Makefile
cvs rdiff -u -r1.15 -r1.15.10.1 pkgsrc/multimedia/mediainfo/distinfo
cvs rdiff -u -r0 -r1.1.2.2 \
    pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp \
    pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/libmediainfo/Makefile
diff -u pkgsrc/multimedia/libmediainfo/Makefile:1.7 pkgsrc/multimedia/libmediainfo/Makefile:1.7.12.1
--- pkgsrc/multimedia/libmediainfo/Makefile:1.7 Wed May 20 06:09:05 2020
+++ pkgsrc/multimedia/libmediainfo/Makefile     Sat Oct 16 18:09:24 2021
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/05/20 06:09:05 rillig Exp $
+# $NetBSD: Makefile,v 1.7.12.1 2021/10/16 18:09:24 tm Exp $
 
+PKGREVISION=           1
 .include "../../multimedia/mediainfo/Makefile.common"
 
 PKGNAME=               libmediainfo-${MIVER}

Index: pkgsrc/multimedia/mediainfo/Makefile
diff -u pkgsrc/multimedia/mediainfo/Makefile:1.14 pkgsrc/multimedia/mediainfo/Makefile:1.14.50.1
--- pkgsrc/multimedia/mediainfo/Makefile:1.14   Mon Sep  7 01:02:00 2015
+++ pkgsrc/multimedia/mediainfo/Makefile        Sat Oct 16 18:09:24 2021
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2015/09/07 01:02:00 dsainty Exp $
+# $NetBSD: Makefile,v 1.14.50.1 2021/10/16 18:09:24 tm Exp $
 
+PKGREVISION=           1
 .include "../../multimedia/mediainfo/Makefile.common"
 
 PKGNAME=               mediainfo-${MIVER}

Index: pkgsrc/multimedia/mediainfo/distinfo
diff -u pkgsrc/multimedia/mediainfo/distinfo:1.15 pkgsrc/multimedia/mediainfo/distinfo:1.15.10.1
--- pkgsrc/multimedia/mediainfo/distinfo:1.15   Mon Aug  3 09:51:28 2020
+++ pkgsrc/multimedia/mediainfo/distinfo        Sat Oct 16 18:09:24 2021
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.15 2020/08/03 09:51:28 wiz Exp $
+$NetBSD: distinfo,v 1.15.10.1 2021/10/16 18:09:24 tm Exp $
 
 SHA1 (mediainfo_20.03_AllInclusive.7z) = e6cbdaa85b9c4b182cd1325506926637b0e158d8
 RMD160 (mediainfo_20.03_AllInclusive.7z) = 976c635af03faa44d9a4cca2bc5c143efa44601d
 SHA512 (mediainfo_20.03_AllInclusive.7z) = 850f4ee5f8ceb3a91a4466ff73c9f2fb70a1a63f8bdd7ffd8dd40e83b619b71c59e9b8659a8636758c90a62d7024b4e617b17025c72f23a7bcd25a3823d2ee39
 Size (mediainfo_20.03_AllInclusive.7z) = 3706487 bytes
 SHA1 (patch-MediaInfoLib_Source_MediaInfo_MediaInfo__Config.h) = 19d6cba816c9e282e31fac527cbc39b9303f9f08
+SHA1 (patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp) = 04f3533bf6a79a2dd8dcee80fd0f68e73303ccbb
+SHA1 (patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp) = 800904386799b205a366f4f693ad9a7ff3d5856b

Added files:

Index: pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp
diff -u /dev/null pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp:1.1.2.2
--- /dev/null   Sat Oct 16 18:09:25 2021
+++ pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp      Sat Oct 16 18:09:25 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-MediaInfoLib_Source_MediaInfo_Multiple_File__Gxf.cpp,v 1.1.2.2 2021/10/16 18:09:25 tm Exp $
+
+Fix CVE-2020-26797
+https://github.com/MediaArea/MediaInfoLib/commit/7bab1c3a043784be2c90f2e54a0e5a8d7263eead
+
+--- MediaInfoLib/Source/MediaInfo/Multiple/File_Gxf.cpp.orig   2020-04-03 12:46:46.000000000 +0000
++++ MediaInfoLib/Source/MediaInfo/Multiple/File_Gxf.cpp
+@@ -1577,7 +1577,7 @@ File__Analyze* File_Gxf::ChooseParser_Ch
+     File_ChannelGrouping* Parser;
+     if (Audio_Count%2)
+     {
+-        if (!Streams[TrackID-1].IsChannelGrouping)
++        if (!TrackID || !Streams[TrackID-1].IsChannelGrouping)
+             return NULL; //Not a channel grouping
+ 
+         Parser=new File_ChannelGrouping;
Index: pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp
diff -u /dev/null pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp:1.1.2.2
--- /dev/null   Sat Oct 16 18:09:25 2021
+++ pkgsrc/multimedia/mediainfo/patches/patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp   Sat Oct 16 18:09:25 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-MediaInfoLib_Source_MediaInfo_Multiple_File__MpegPs.cpp,v 1.1.2.2 2021/10/16 18:09:25 tm Exp $
+
+Fix for CVE-2020-15395
+https://github.com/MediaArea/MediaInfoLib/commit/7b935cda2db88bfb63bda157bb93d69091c2c199
+
+--- MediaInfoLib/Source/MediaInfo/Multiple/File_MpegPs.cpp.orig        2020-04-03 12:46:46.000000000 +0000
++++ MediaInfoLib/Source/MediaInfo/Multiple/File_MpegPs.cpp
+@@ -405,7 +405,7 @@ void File_MpegPs::Streams_Fill_PerStream
+             Fill(Stream_Audio, StreamPos_Last, Audio_MuxingMode, "SL");
+     #endif //MEDIAINFO_MPEG4_YES
+ 
+-    if (Counts[StreamKind_Last]+Count==Count_Get(StreamKind_Last)) //Old method
++    if (StreamKind_Last<Stream_Max && Counts[StreamKind_Last]+Count==Count_Get(StreamKind_Last)) //Old method
+         Streams_Fill_PerStream_PerKind(StreamID, Temp, KindOfStream, Count);
+     else
+     {



Home | Main Index | Thread Index | Old Index