From 7c1f548f4d6a182a97ff7b83ec6bf0448cfb9245 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Thu, 7 Feb 2008 10:34:42 +0000 Subject: Patch from Paul Bolle : Fix for bug #514771 (Fix for a crash while decoding TNEF attachments) svn path=/trunk/; revision=34969 --- plugins/tnef-attachments/ChangeLog | 7 +++++++ plugins/tnef-attachments/tnef-plugin.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'plugins') 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 + + ** Fix for bug #514771 + + * tnef-plugin.c: (saveVCalendar): Fixed a crasher while decoding + TNEF attachments. + 2007-08-27 Srinivasa Ragavan * 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); } -- cgit v1.2.3