Annotation of /trunk/libwmf/patches/libwmf-0.2.8.4-CVE-2015-4696.patch
Parent Directory | Revision Log
Revision 2938 -
(hide annotations)
(download)
Tue May 30 10:46:40 2017 UTC (7 years, 3 months ago) by niro
File size: 483 byte(s)
Tue May 30 10:46:40 2017 UTC (7 years, 3 months ago) by niro
File size: 483 byte(s)
-added a bunch of security patches
1 | niro | 2938 | --- libwmf-0.2.8.4/src/player/meta.h |
2 | +++ libwmf-0.2.8.4/src/player/meta.h | ||
3 | @@ -2585,6 +2585,8 @@ | ||
4 | polyrect.BR[i] = clip->rects[i].BR; | ||
5 | } | ||
6 | |||
7 | + if (FR->region_clip) FR->region_clip (API,&polyrect); | ||
8 | + | ||
9 | wmf_free (API,polyrect.TL); | ||
10 | wmf_free (API,polyrect.BR); | ||
11 | } | ||
12 | @@ -2593,9 +2595,10 @@ | ||
13 | polyrect.BR = 0; | ||
14 | |||
15 | polyrect.count = 0; | ||
16 | + | ||
17 | + if (FR->region_clip) FR->region_clip (API,&polyrect); | ||
18 | } | ||
19 | |||
20 | - if (FR->region_clip) FR->region_clip (API,&polyrect); | ||
21 | |||
22 | return (changed); | ||
23 | } |