]> git.pld-linux.org Git - packages/mp4v2.git/commitdiff
- added int-overflow (don't use arbitrary option values overflowing used signed type) master auto/th/mp4v2-3.0.4.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 Jul 2020 20:02:16 +0000 (22:02 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 Jul 2020 20:02:16 +0000 (22:02 +0200)
- release 2

mp4v2-int-overflow.patch [new file with mode: 0644]
mp4v2.spec

diff --git a/mp4v2-int-overflow.patch b/mp4v2-int-overflow.patch
new file mode 100644 (file)
index 0000000..fdc4507
--- /dev/null
@@ -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,
index d1b17b7ae1c414ee440b05ecfa6ae98d4fbe9491..486cb428cad67dddbe83e6acb48acad7ab37a650 100644 (file)
@@ -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
This page took 0.090109 seconds and 4 git commands to generate.