- security update
* CVE-2018-18444 [bsc#1113455] + openexr-CVE-2018-18444.patch OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=17
This commit is contained in:
parent
80f89c3aff
commit
6c8b6b0f6f
13
openexr-CVE-2018-18444.patch
Normal file
13
openexr-CVE-2018-18444.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: openexr-2.3.0/exrmultiview/Image.h
|
||||||
|
===================================================================
|
||||||
|
--- openexr-2.3.0.orig/exrmultiview/Image.h 2018-08-10 03:35:00.000000000 +0200
|
||||||
|
+++ openexr-2.3.0/exrmultiview/Image.h 2018-11-07 09:07:48.072431858 +0100
|
||||||
|
@@ -227,7 +227,7 @@ template <class T>
|
||||||
|
void
|
||||||
|
TypedImageChannel<T>::black ()
|
||||||
|
{
|
||||||
|
- memset(&_pixels[0][0],0,image().width()/_xSampling*image().height()/_ySampling*sizeof(T));
|
||||||
|
+ memset(&_pixels[0][0],0,image().width()/_xSampling*(image().height()/_ySampling)*sizeof(T));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 7 09:42:59 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
- security update
|
||||||
|
* CVE-2018-18444 [bsc#1113455]
|
||||||
|
+ openexr-CVE-2018-18444.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 6 09:35:55 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
Tue Nov 6 09:35:55 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ Source0: https://github.com/openexr/openexr/releases/download/v%{version}
|
|||||||
Source1: https://github.com/openexr/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz.sig
|
Source1: https://github.com/openexr/openexr/releases/download/v%{version}/openexr-%{version}.tar.gz.sig
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Source3: openexr.keyring
|
Source3: openexr.keyring
|
||||||
|
Patch0: openexr-CVE-2018-18444.patch
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: fltk-devel
|
BuildRequires: fltk-devel
|
||||||
BuildRequires: freeglut-devel
|
BuildRequires: freeglut-devel
|
||||||
@ -133,6 +134,7 @@ This package contains documentation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PTHREAD_LIBS="-lpthread"
|
export PTHREAD_LIBS="-lpthread"
|
||||||
|
Loading…
Reference in New Issue
Block a user