aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/tnef-attachments/ChangeLog7
-rw-r--r--plugins/tnef-attachments/tnef-plugin.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/plugins/tnef-attachments/ChangeLog b/plugins/tnef-attachments/ChangeLog
index 3f02fd5833..d0b0826d00 100644
--- a/plugins/tnef-attachments/ChangeLog
+++ b/plugins/tnef-attachments/ChangeLog
@@ -1,3 +1,10 @@
+2008-02-07 Paul Bolle <pebolle@tiscali.nl>
+
+ ** Fix for bug #514771
+
+ * tnef-plugin.c: (saveVCalendar): Fixed a crasher while decoding
+ TNEF attachments.
+
2007-08-27 Srinivasa Ragavan <sragavan@novell.com>
* tnef-plugin.c: (e_plugin_lib_enable): Avoid reentrancy in enable.
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index cea0081cfe..c96088baca 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -1030,7 +1030,7 @@ void saveVCalendar(TNEFStruct *tnef) {
buf = (variableLength *)g_malloc (sizeof(variableLength));
if ((buf->data = DecompressRTF(filename, &(buf->size))) != NULL) {
fprintf(fptr, "DESCRIPTION:");
- printRtf(fptr, &buf);
+ printRtf(fptr, buf);
free(buf->data);
}