]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 22 Nov 2009 00:56:44 +0000 (00:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 22 Nov 2009 00:56:44 +0000 (00:56 +0000)
ChangeLog
magick/log.c

index 8529307ac46326bdd024d3bc6533653f4ed907d2..1e047f34087436bf5535901029531f3ea7a7f2d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
   * Add magick/morphlogy.{c,h} source templates.
   * Sync image option when reading MPR images.
   * Optimize ping for SVG images.
+  * SetLogFormat() no longer causes crash (reference
+    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=15091).
 
 2009-11-18  6.5.7-9 Cristy  <quetzlzacatenango@image...>
   * Read / write 32-bit SUN raster images with a odd width.
index c3dce0cf14b452f65f19618ee960f3dd4e426056..c8bf85aef0ee26ede2632a8752890ec4a03b8cde 100644 (file)
@@ -1563,8 +1563,8 @@ static MagickBooleanType LoadLogLists(const char *filename,
     GetTimerInfo((TimerInfo *) &log_info->timer);
     log_info->event_mask=p->event_mask;
     log_info->handler_mask=p->handler_mask;
-    log_info->filename=(char *) p->filename;
-    log_info->format=(char *) p->format;
+    log_info->filename=ConstantString(p->filename);
+    log_info->format=ConstantString(p->format);
     log_info->exempt=MagickTrue;
     log_info->signature=MagickSignature;
     status=AppendValueToLinkedList(log_list,log_info);