SHA256
8
0
forked from pool/libwmf
Files
libwmf/libwmf-0.2.8.4-bnc495842.patch
Marcus Meissner 990727bba6 Accepting request 891512 from home:dirkmueller:Factory
- update to 0.2.12:
  * upstream changed to fork from Fedora: https://github.com/caolanm/libwmf
  * fix abi
  * merge in fixes for libgd CVE-2019-6978
  * release with coverity, clang and shellcheck fixes
  * Seeing as wvware.sourceforge.net seems to be dead, but libwmf is still in
    use and has had a bunch of security bugs reported against, and I've a
    history with libwmf, I'll call this libwmf 0.2.9 and merge in my (Red Hat)
    fixes.
- drop libwmf-0.2.8.4-ia64.patch, libwmf-0.2.8.4-config.patch: obsolete
- drop libwmf-0.2.8.4-overflow-CVE-2006-3376.patch: upstream via
  b9cc022c8d
- drop libwmf-0.2.8.4-CVE-2015-0848.patch: part of
  879d6bffa6
- drop libwmf-0.2.8.4-badrle.patch: part of 
  879d6bffa6
- drop libwmf-0.2.8.4-CVE-2015-4696.patch: upstream via
  f47cbdf968
- drop libwmf-0.2.8.4-CVE-2015-4695.patch: upstream via 
  b5ae5d1f3b
- drop reproducible.patch: differently done upstream
- drop use-pkg-config-for-freetype.patch: obsolete

OBS-URL: https://build.opensuse.org/request/show/891512
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libwmf?expand=0&rev=52
2021-05-11 11:27:51 +00:00

13 lines
461 B
Diff

Index: src/extra/gd/gd_clip.c
===================================================================
--- src/extra/gd/gd_clip.c.orig
+++ src/extra/gd/gd_clip.c
@@ -69,6 +69,7 @@ void gdClipSetAdd(gdImagePtr im,gdClipRe
if (im->clip->count == im->clip->max)
{ more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle));
if (more == 0) return;
+ im->clip->list = more;
im->clip->max += 8;
im->clip->list = more;
}