[packages/mp4v2] - added int-overflow (don't use arbitrary option values overflowing used signed type) - release 2

qboosh qboosh at pld-linux.org
Sat Jul 4 22:00:58 CEST 2020


commit b439c3e5b2096b97b347d3634ed8845fe8c2fc08
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 4 22:02:16 2020 +0200

    - added int-overflow (don't use arbitrary option values overflowing used signed type)
    - release 2

 mp4v2-int-overflow.patch | 11 +++++++++++
 mp4v2.spec               |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/mp4v2.spec b/mp4v2.spec
index d1b17b7..486cb42 100644
--- a/mp4v2.spec
+++ b/mp4v2.spec
@@ -2,7 +2,7 @@ Summary:	MP4v2 library provides API for creation and modification of MP4 files
 Summary(pl.UTF-8):	Biblioteka MP4v2 - API do tworzenia i modyfikowania plików MP4
 Name:		mp4v2
 Version:	3.0.4.0
-Release:	1
+Release:	2
 License:	MPL v1.1
 Group:		Applications/Multimedia
 #Source0Download: https://github.com/TechSmith/mp4v2/releases
@@ -11,6 +11,7 @@ Source0:	https://github.com/TechSmith/mp4v2/archive/Release-MP4v2-%{version}/%{n
 Patch0:		%{name}-export.patch
 Patch1:		%{name}-doc.patch
 Patch2:		%{name}-nul.patch
+Patch3:		%{name}-int-overflow.patch
 URL:		https://github.com/TechSmith/mp4v2
 BuildRequires:	help2man
 BuildRequires:	libstdc++-devel
@@ -78,6 +79,7 @@ Ten pakiet zawiera statyczną wersję biblioteki MP4v2.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # "txt" build fails without this directory
 mkdir -p doc/articles/txt
diff --git a/mp4v2-int-overflow.patch b/mp4v2-int-overflow.patch
new file mode 100644
index 0000000..fdc4507
--- /dev/null
+++ b/mp4v2-int-overflow.patch
@@ -0,0 +1,11 @@
+--- mp4v2-Release-MP4v2-3.0.4.0/libutil/Utility.h.orig	2019-04-08 15:28:47.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.4.0/libutil/Utility.h	2020-07-04 21:51:51.847120315 +0200
+@@ -52,7 +52,7 @@
+ {
+ protected:
+     enum LongCode {
+-        LC_NONE = 0xf0000000, // safe (cannot conflict with char values)
++        LC_NONE = 0xf000000, // safe (cannot conflict with char values)
+         LC_DEBUG,
+         LC_VERBOSE,
+         LC_HELP,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mp4v2.git/commitdiff/b439c3e5b2096b97b347d3634ed8845fe8c2fc08



More information about the pld-cvs-commit mailing list