diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-02-07 18:34:42 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-02-07 18:34:42 +0800 |
commit | 7c1f548f4d6a182a97ff7b83ec6bf0448cfb9245 (patch) | |
tree | bd1d3f6810190f6b6935450de782173758e5230d /plugins/tnef-attachments | |
parent | a765a5229c6d513076214f942ccd37b609b5fbcf (diff) | |
download | gsoc2013-evolution-7c1f548f4d6a182a97ff7b83ec6bf0448cfb9245.tar.gz gsoc2013-evolution-7c1f548f4d6a182a97ff7b83ec6bf0448cfb9245.tar.zst gsoc2013-evolution-7c1f548f4d6a182a97ff7b83ec6bf0448cfb9245.zip |
Patch from Paul Bolle <pebolle@tiscali.nl>: Fix for bug #514771 (Fix for a crash while decoding TNEF attachments)
svn path=/trunk/; revision=34969
Diffstat (limited to 'plugins/tnef-attachments')
-rw-r--r-- | plugins/tnef-attachments/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/tnef-attachments/tnef-plugin.c | 2 |
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); } |