Add patch to fix integer overflows.
Fix compilation by including limits.h Resolves: RHEL-40650
This commit is contained in:
parent
6214ba2cd8
commit
be42db7d1a
11
include-limits.patch
Normal file
11
include-limits.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -ru libvpx-1.7.0/vpx/src/vpx_image.c libvpx-1.7.0.new/vpx/src/vpx_image.c
|
||||||
|
--- libvpx-1.7.0/vpx/src/vpx_image.c 2018-01-24 23:25:44.000000000 +0100
|
||||||
|
+++ libvpx-1.7.0.new/vpx/src/vpx_image.c 2024-08-27 15:22:25.886886526 +0200
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
|
||||||
|
#include "vpx/vpx_image.h"
|
||||||
|
#include "vpx/vpx_integer.h"
|
@ -30,6 +30,7 @@ Patch6: 0001-VP8-disallow-thread-count-changes.patch
|
|||||||
Patch7: 0001-Fix-integer-overflows-in-calc-of-stride_in_bytes.patch
|
Patch7: 0001-Fix-integer-overflows-in-calc-of-stride_in_bytes.patch
|
||||||
Patch8: 0002-Apply-stride_align-to-byte-count-not-pixel-count.patch
|
Patch8: 0002-Apply-stride_align-to-byte-count-not-pixel-count.patch
|
||||||
Patch9: 0003-Fix-a-bug-in-alloc_size-for-high-bit-depths.patch
|
Patch9: 0003-Fix-a-bug-in-alloc_size-for-high-bit-depths.patch
|
||||||
|
Patch10: include-limits.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libvpx provides the VP8/VP9 SDK, which allows you to integrate your applications
|
libvpx provides the VP8/VP9 SDK, which allows you to integrate your applications
|
||||||
@ -66,6 +67,7 @@ and decoder.
|
|||||||
%patch7 -p1 -b .0007
|
%patch7 -p1 -b .0007
|
||||||
%patch8 -p1 -b .0008
|
%patch8 -p1 -b .0008
|
||||||
%patch9 -p1 -b .0009
|
%patch9 -p1 -b .0009
|
||||||
|
%patch10 -p1 -b .0010
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
@ -257,6 +259,7 @@ rm -rf %{buildroot}%{_prefix}/src
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 5 2024 Wim Taymans <wtaymans@redhat.com> - 1.7.0-11
|
* Fri Jul 5 2024 Wim Taymans <wtaymans@redhat.com> - 1.7.0-11
|
||||||
- Add patch to fix integer overflows.
|
- Add patch to fix integer overflows.
|
||||||
|
- Fix compilation by including limits.h
|
||||||
- Resolves: RHEL-40650
|
- Resolves: RHEL-40650
|
||||||
|
|
||||||
* Thu Oct 5 2023 Wim Taymans <wtaymans@redhat.com> - 1.7.0-10
|
* Thu Oct 5 2023 Wim Taymans <wtaymans@redhat.com> - 1.7.0-10
|
||||||
|
Loading…
Reference in New Issue
Block a user