1 |
|
2 |
# HG changeset patch |
3 |
# User Bob Friesenhahn <bfriesen@GraphicsMagick.org> |
4 |
# Date 1501116476 18000 |
5 |
# Node ID be898b7c97bd855fc6fa0cef983faae916bd0c93 |
6 |
# Parent 6a632982c866f36dbad87e4ab953e08a290eaa8b |
7 |
WMF: Eliminate use of already freed heap data in error reporting path. |
8 |
|
9 |
diff -r 6a632982c866 -r be898b7c97bd coders/wmf.c |
10 |
--- a/coders/wmf.c Tue Jul 25 20:11:16 2017 -0500 |
11 |
+++ b/coders/wmf.c Wed Jul 26 19:47:56 2017 -0500 |
12 |
@@ -2719,8 +2719,8 @@ |
13 |
if(image->exception.severity != UndefinedException) |
14 |
ThrowException2(exception, |
15 |
CoderWarning, |
16 |
- ddata->image->exception.reason, |
17 |
- ddata->image->exception.description); |
18 |
+ image->exception.reason, |
19 |
+ image->exception.description); |
20 |
|
21 |
if(logging) |
22 |
(void) LogMagickEvent(CoderEvent,GetMagickModule(),"leave ReadWMFImage()"); |