Petr Gajdos
6c8b6b0f6f
* CVE-2018-18444 [bsc#1113455] + openexr-CVE-2018-18444.patch OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=17
14 lines
546 B
Diff
14 lines
546 B
Diff
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));
|
|
}
|
|
|
|
|