[Mono-bugs] [Bug 78886][Nor] Changed - loading of particular tiff image fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 1 15:45:20 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78886

--- shadow/78886	2006-08-01 11:42:12.000000000 -0400
+++ shadow/78886.tmp.13415	2006-08-01 15:45:20.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 78886
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: libgdiplus
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: scottell.lists at gmail.com               
 QAContact: mono-bugs at ximian.com
@@ -93,6 +93,14 @@
 	{
 		Image.FromFile ("wsiearth.tif");
 	}
 }
  
 Looks like we're mishandling the properties, time to valgind...
+
+------- Additional Comments From sebastien at ximian.com  2006-08-01 15:45 -------
+the crash is due to a typo
+- buffer = GdipAlloc(3 * bits_per_sample & sizeof(uint16));
++ buffer = GdipAlloc(3 * bits_per_sample * sizeof(uint16));
+
+It's fixed in SVN along another memory leaks found with the sample.
+Thanks for the bug report!


More information about the mono-bugs mailing list