aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2009-11-13 09:20:41 +0800
committerBharath Acharya <abharath@novell.com>2009-11-13 09:20:41 +0800
commit79e19d570c95b9501268bf99a6caeee4ef68c12d (patch)
tree9a4cf558e42a9c6e59880f42ef81fb2d95462c22 /mail/em-format-html.c
parent5b1add163ad99b1e8f122f710d3c389b2c9208f2 (diff)
downloadgsoc2013-evolution-79e19d570c95b9501268bf99a6caeee4ef68c12d.tar.gz
gsoc2013-evolution-79e19d570c95b9501268bf99a6caeee4ef68c12d.tar.zst
gsoc2013-evolution-79e19d570c95b9501268bf99a6caeee4ef68c12d.zip
BUG 600217:Crashes in emfh_multipart_related_check
Check for the link
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 47213dc5d5..6fbc6079aa 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1988,6 +1988,12 @@ emfh_multipart_related_check(struct _EMFormatHTMLJob *job, gint cancelled)
link = g_queue_peek_head_link (job->puri_level->data);
+ if (!link) {
+ g_string_printf (format->part_id, "%s", oldpartid);
+ g_free (oldpartid);
+ return;
+ }
+
while (link->next != NULL) {
EMFormatPURI *puri = link->data;
d46faa0'>Update to the 20090327 snapshot of GCC 4.4.0.gerald2009-03-302-19/+20 * Update to the 20090313 snapshot of GCC 4.4.0.gerald2009-03-152-33/+28 * Update to the 20090227 snapshot of GCC 4.4.0.gerald2009-02-282-19/+19 * Update to the 20090220 snapshot of GCC 4.4.0.gerald2009-02-212-19/+19 * Update to the 20090213 snapshot of GCC 4.4.0.gerald2009-02-153-25/+19 * Update to the 20090130 snapshot of GCC 4.4.0.gerald2009-02-012-24/+24 * Chase mpfr library.ale2009-01-311-1/+1 * Update to the 20090123 snapshot of GCC 4.4.0.gerald2009-01-242-19/+19 * Update to the 20090116 snapshot of GCC 4.4.0.gerald2009-01-182-19/+19 * Update to the 20090109 snapshot of GCC 4.4.0.gerald2009-01-112-19/+19 * - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-061-8/+2 * Replace CONFLICTS=gcc-2.95.*, which actually is too late to preventgerald2009-01-041-3/+8 * Update to the 20090102 snapshot of GCC 4.4.0.gerald2009-01-042-19/+19 * Update to the 20081226 snapshot of GCC 4.4.0.gerald2008-12-282-19/+19 * Update to the 20081128 snapshot of GCC 4.4.0.gerald2008-12-012-19/+19 * Update to the 20081121 snapshot of GCC 4.4.0.gerald2008-11-232-19/+19 * Update to the 20081107 snapshot of GCC 4.4.0.gerald2008-11-092-19/+20 * Update to the 20081017 snapshot of GCC 4.4.0.gerald2008-10-252-19/+19 * Update to the 20081003 snapshot of GCC 4.4.0.gerald2008-10-052-19/+19 * Update to the 20080926 snapshot of GCC 4.4.0.gerald2008-09-282-19/+19 * Update to the 20080919 snapshot of GCC 4.4.0.gerald2008-09-242-19/+19 * Update to the 20080905 snapshot of GCC 4.4.0.gerald2008-09-072-19/+19 * Update to the 20080822 snapshot of GCC 4.4.0.gerald2008-08-242-19/+19 * Update to the 20080815 snapshot of GCC 4.4.0.gerald2008-08-173-19/+20 * Update to the 20080801 snapshot of GCC 4.4.0.gerald2008-08-042-19/+19 * Update to the 20080725 snapshot of GCC 4.4.0.gerald2008-07-272-19/+19 * Update to the 20080711 snapshot of GCC 4.4.0. Among others, libgcjgerald2008-07-133-20/+26 * Update to the 20080627 snapshot of GCC 4.4.0.gerald2008-06-292-19/+19 * Update to the 20080613 snapshot of GCC 4.4.0.gerald2008-06-152-19/+19 * Update to the 20080606 snapshot of GCC 4.4.0.gerald2008-06-112-19/+19 * Update to the 20080523 snapshot of GCC 4.4.0.gerald2008-05-242-19/+19 * Update to the 20080509 snapshot of GCC 4.4.0.gerald2008-05-112-19/+19 * Update to the 20080502 snapshot of GCC 4.4.0.gerald2008-05-042-19/+19 * Update to the 20080411 snapshot of GCC 4.4.0.gerald2008-04-132-19/+19 * Update to the 20080328 snapshot of GCC 4.4.0.gerald2008-03-302-19/+19 * Update to the 20080321 snapshot of GCC 4.4.0.gerald2008-03-232-19/+19 * Update to the 20080314 snapshot of GCC 4.4.0.gerald2008-03-182-19/+19 * Update to the 20080307 snapshot of GCC 4.4. Very early alpha, take care!gerald2008-03-082-19/+19 * Now track GCC 4.4 development (currently at 4.4.0 snapshot 20080229) viagerald2008-03-024-26/+26 * Update to the 20080221 snapshot of GCC 4.3.0.gerald2008-02-222-20/+20 * Update to the 20080215 snapshot of GCC 4.3.0.gerald2008-02-172-19/+19 * Update to the 20080208 snapshot of GCC 4.3.0.gerald2008-02-112-19/+19 * Update to the 20080201 snapshot of GCC 4.3.0.gerald2008-02-032-19/+19 * Update to the 20080125 snapshot of GCC 4.3.0.gerald2008-01-272-19/+19 * Update to the 20080118 snapshot of GCC 4.3.0.gerald2008-01-202-19/+19 * Update to the 20080111 snapshot of GCC 4.3.0.gerald2008-01-122-19/+19 * Update to the 20080104 snapshot of GCC 4.3.0.gerald2008-01-062-19/+19 * Update to the 20071221 snapshot of GCC 4.3.0.gerald2007-12-262-19/+19 * Update to the 20071026 snapshot of GCC 4.3.0.gerald2007-10-272-19/+19 * Update to the 20071019 snapshot of GCC 4.3.0.gerald2007-10-202-19/+19 * Migration from bison 1.x to 2.xade2007-10-171-1/+1 * Update to the 20071012 snapshot of GCC 4.3.0.gerald2007-10-142-19/+19 * Update to the 20070928 snapshot of GCC 4.3.0.gerald2007-09-292-19/+19 * Update to the 20070914 snapshot of GCC 4.3.0.gerald2007-09-162-19/+19 * Update to the 20070831 snapshot of GCC 4.3.0.gerald2007-09-032-19/+19 * Chase mpfr library and bump PORTREVISION.ale2007-08-301-1/+1 * Update to the 20070817 snapshot of GCC 4.3.0.gerald2007-08-202-19/+19 * Add missing note on the CONFLICTS with lang/gcc295.gerald2007-08-121-0/+2 * Update to the 20070810 snapshot of GCC 4.3.0.gerald2007-08-122-19/+20 * Update to the 20070727 snapshot of GCC 4.3.0.gerald2007-07-292-19/+19 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-2/+1 * Update to the 20070720 snapshot of GCC 4.3.0.gerald2007-07-222-19/+19 * Update to the 20070713 snapshot of GCC 4.3.0.gerald2007-07-152-19/+19 * Update to the 20070622 snapshot of GCC 4.3.0.gerald2007-06-252-19/+19 * Update to the 20070601 snapshot of GCC 4.3.0.gerald2007-06-022-19/+19 * Update to the 20070518 snapshot of GCC 4.3.0 (since this week's one isgerald2007-05-282-19/+19 * Update to the 20070427 snapshot of GCC 4.3.0.gerald2007-04-282-19/+19 * Update to the 20070420 snapshot of GCC 4.3.0.gerald2007-04-212-22/+22 * Update to the 20070413 snapshot of GCC 4.3.0.gerald2007-04-142-19/+20 * libjava now also provides cp-tools.info.gerald2007-04-121-1/+2 * Move everything related to the WITH_JAVA_AWT knob into a single blockgerald2007-04-121-14/+12 * Check for, and warn about the datasize limit, before trying to buildgerald2007-04-101-0/+9 * Update to the 20070406 snapshot of GCC 4.3.0.gerald2007-04-092-19/+19 * Document the large memory requirements when building with Java support.gerald2007-03-311-0/+4 * Update to the 20070323 snapshot of GCC 4.3.0.gerald2007-03-282-19/+19 * Update to the 20070316 snapshot of GCC 4.3.0.gerald2007-03-182-19/+19 * Update to the 20070309 snapshot of GCC 4.3.0. This brings a new gcjh43gerald2007-03-133-20/+31 * Update to the 20070302 snapshot of GCC 4.3.0.gerald2007-03-042-19/+19 * Update to the 20070223 snapshot of GCC 4.3.0. No extra patch is neededgerald2007-02-253-50/+19 * Update to the 20070216 snapshot of GCC 4.3.0.gerald2007-02-194-20/+53 * Update to the 20070209 snapshot of GCC 4.3.0.gerald2007-02-123-20/+27 * Update to the 20070202 snapshot of GCC 4.3.0.gerald2007-02-064-43/+23 * Revert previous commit.gerald2007-01-151-18/+18 * Add ia64 to NOT_FOR_ARCHS. This has been broken for ages, it is not cleargerald2007-01-152-19/+19 * Add missing DISTFILES entry for Java.gerald2007-01-081-0/+3 * Update to the 20070105 snapshot of GCC 4.3.0. Remove temporary patch wasgerald2007-01-063-35/+16 * Update to the 20061230 snapshot of GCC 4.3.0.gerald2007-01-033-23/+40 * Update to the 20061202 snapshot of GCC 4.3.0.gerald2006-12-032-19/+19 * Update to the 20061125 snapshot of GCC 4.3.0.gerald2006-11-272-19/+19 * Update to the 20061111 snapshot of GCC 4.3.0.gerald2006-11-132-19/+19 * And here we go, introducing the lang/gcc43 port in form of the 20061104gerald2006-11-054-40/+32 * Update to the 20061024 snapshot GCC 4.2.0.gerald2006-10-312-19/+19 * Update lang/gcc42 to the 20061014 snapshot of GCC 4.2.0, which appends agerald2006-10-204-27/+26 * Update to the 20060923 snapshot of GCC 4.2.0.gerald2006-09-242-19/+19 * Remove bootclasspath setting to java-gcj-compatmaho2006-09-181-2/+1 * Update to the 20060915 of GCC 4.1.2. This fixes the namespace pollutiongerald2006-09-183-29/+21 * Update to the 20060909 snapshot of GCC 4.2.0.gerald2006-09-112-19/+19 * Update to the 20060906 snapshot of GCC 4.2.0. This is getting pretty closegerald2006-09-073-21/+20 * Update to the 20060826 snapshot of GCC 4.2.0. Among others, this fixesgerald2006-08-303-22/+23 * Update to the 20060819 snapshot of GCC 4.2.0.gerald2006-08-212-19/+19 * Update to the 20060812 snapshot of GCC 4.2.0.gerald2006-08-142-19/+19 * Setting java.home, changing default awt peer to gtk,maho2006-08-081-1/+6 * Update to the 20060805 snapshot of GCC 4.2.0.gerald2006-08-072-19/+19 * Update to the 20060729 snapshot of GCC 4.2.0.gerald2006-07-312-19/+19 * Update to the 20060722 snapshot of GCC 4.2.0.gerald2006-07-232-21/+20 * Update to the 20060715 snapshot of GCC 4.2.0.gerald2006-07-182-19/+19 * Update to the 20060708 snapshot of GCC 4.2.0.gerald2006-07-092-24/+21 * Update to the 20060701 snapshot of GCC 4.2.0.gerald2006-07-043-20/+24 * Update to the 20060624 snapshot of GCC 4.2.0.gerald2006-06-273-29/+24 * Update to the 20060617 snapshot of GCC 4.2.0.gerald2006-06-184-41/+21 * Update to the 20060610 snapshot of GCC 4.2.0.gerald2006-06-113-37/+20 * Update to the 20060603 snapshot of GCC 4.2.0.gerald2006-06-063-26/+44 * Update to the 20060527 snapshot of GCC 4.2.0.gerald2006-05-282-16/+16 * Fix dependency of libartmaho2006-05-281-1/+1 * Update to the 20060520 snapshot of GCC 4.2.0.gerald2006-05-222-16/+16 * Update to the 20060513 snapshot of GCC 4.2.0.gerald2006-05-142-16/+16 * Update to the 20060506 snapshot of GCC 4.2.0.gerald2006-05-132-20/+16 * Avoid hard-coding the GCC release series in the cklatest target.gerald2006-05-131-1/+1 * Chase gmp library and bump PORTREVISION.ale2006-05-101-1/+1 * IGNORE on ia64 and sparc64, because we know things currently cannot workgerald2006-04-231-0/+4 * Make sure all lang/gcc* ports I maintain can be properly used as mastergerald2006-04-231-2/+2 * Update to the 20060422 snapshot of GCC 4.2.0.gerald2006-04-232-16/+16 * Update to the 20060415 snapshot of GCC 4.2.0. Adjust the explanationgerald2006-04-162-17/+18 * Update to the 20060408 snapshot of GCC 4.2.0.gerald2006-04-092-16/+16 * Update to the 20060401 snapshot of GCC 4.2.0.gerald2006-04-032-16/+16 * Fix handling of shared libraries via rc.d for non-default prefixes.gerald2006-03-291-0/+1 * Update to the 20060325 snapshot of GCC 4.2.0. Two minor cleanups on thegerald2006-03-262-20/+17 * - add RC_D_SH to keep shared libs working after rebootdinoex2006-03-263-0/+19 * Update to the 20060318 snapshot of GCC 4.2.0.gerald2006-03-202-16/+16 * Update to the 20060311 snapshot of GCC 4.2.0.gerald2006-03-163-36/+25 * Update to the 20060218 snapshot of GCC 4.2.0.gerald2006-02-223-21/+16 * Update to the 20060211 snapshot of GCC 4.2.0.gerald2006-02-132-16/+16 * Update to the 20060204 snapshot of GCC 4.2.0.gerald2006-02-052-16/+16 * Update to the 20060128 snapshot of GCC 4.2.0.gerald2006-02-012-16/+16 * Update to the 20060121 snapshot of GCC 4.2.0, which now includes libgomp.gerald2006-01-273-16/+21 * Update to the 20060114 snapshot of GCC 4.2.0.gerald2006-01-152-16/+16 * Update to the 20060107 snapshot of GCC 4.2.0.gerald2006-01-092-18/+16 * Update to the 20051231 snapshot of GCC 4.2.0.gerald2006-01-022-16/+16 * Update to the 20051224 snapshot of GCC 4.2.0.gerald2005-12-283-18/+17 * Update to the 20051215 snapshot of GCC 4.0.3.gerald2005-12-221-1/+1 * Install the .info files of the lang/gcc42 port in a port-specificgerald2005-12-222-5/+12 * Update to the 20051217 snapshot of GCC 4.2.0. Due to changes in the buildgerald2005-12-192-20/+17 * Update program names to account for GCC 4.2.gerald2005-12-141-1/+1 * Complete the repocopy of lang/gcc41 to lang/gcc42 and update to the 20051210gerald2005-12-123-53/+54 * Update to the 20051202 snapshot of GCC 4.1.0.gerald2005-12-042-19/+22 * Add missing pkg-plist update from the previous commit.gerald2005-11-301-0/+1 * Update to the 20051125 snapshot of GCC 4.1.0 (which gets us rid of agerald2005-11-303-27/+20 * mirrors.rcn.net, one of the main mirrors has a corrupted tarball of thegerald2005-11-171-1/+1 * Update to the 20051112 snapshot of GCC 4.1.0 (which requires a fix togerald2005-11-143-13/+27 * Update to the 20051029 snapshot of GCC 4.1. This brings many bugfixesgerald2005-11-093-17/+13 * Update to the 20050924 snapshot of GCC 4.1.0. This brings a huge libjava/gerald2005-09-263-15/+19 * Update to the 20050917 snapshot of GCC 4.1.0.gerald2005-09-192-13/+13 * Update to the 20050909 snapshot of GCC 4.1.0.gerald2005-09-122-13/+13 * This patch is now part of the stock FSF sources, so we don't need it anymore.obrien2005-09-091-16/+0 * Fix bug where static forward declarations weren't accepted.obrien2005-09-071-0/+16 * Update to the 20050902 snapshot of GCC 4.1.0.gerald2005-09-032-13/+13 * Reenable the Java frontend and libgcj on i386. All build and installationgerald2005-09-021-1/+3 * Update to the 20050826 snapshot of GCC 4.1.gerald2005-08-302-14/+14 * Fix the build on i386, even if that means disabling the Java frontend.gerald2005-08-252-14/+14 * Update to the 20050730 snapshot of GCC 4.1.0.gerald2005-08-024-75/+66 * Update to the 20050723 snapshot of GCC 4.1.0. Should now work on FreeBSD 7.gerald2005-07-253-15/+13 * o Java awt is now working via gtk20maho2005-07-201-0/+12 * We no longer install any libraries to $PREFIX/lib, so remove this fromgerald2005-07-191-1/+1 * GCC 4.1 currently adds an empty directory share/classpath/api und $PREFIX.gerald2005-07-191-0/+2 * Update to the 20050716 snapshot of GCC 4.1.0 (with two new .info files).gerald2005-07-182-15/+16 * No longer put target specific files and include files at the verygerald2005-07-161-5/+5 * Update to the 20050709 snapshot of GCC 4.1.0.gerald2005-07-102-13/+13 * Adjust pkg-plist to (temporary) bug which added libssp include files.gerald2005-07-071-0/+5 * Update to the 20050702 snapshot of GCC 4.1.0.gerald2005-07-062-13/+13 * Update to the 20050625 snapshot of GCC 4.1.0.gerald2005-06-263-28/+15 * Update to the 20050618 snapshot of GCC 4.1.0.obrien2005-06-202-13/+13 * A workaround to build libjava.maho2005-06-141-4/+4 * Update to the 20050611 snapshot of GCC 4.1.0.gerald2005-06-132-13/+13 * Update to the 20050604 snapshot of GCC 4.1.0.gerald2005-06-052-13/+13 * Generally disable libjava again, since it mysteriously causes the build togerald2005-06-031-0/+3 * Update to the 20050528 snapshot of GCC 4.1.0. Adjust the libjava-relatedgerald2005-05-304-14/+32 * Update to the 20050522 snapshot of 4.1.0. Simplify the handling of mangerald2005-05-233-28/+21 * Include the (optional) Fortran frontend.gerald2005-05-191-0/+2 * Update to the 20050515 snapshot of GCC 4.1.0.gerald2005-05-173-41/+27 * Update to the 20050508 snapshot of GCC 4.1.0. Add the new gjnih41 programgerald2005-05-103-27/+30 * Update to the 20050501 snapshot of GCC 4.1.0. This contains a patch Igerald2005-05-022-17/+13 * Disable the build on alpha.[1] Address some complaints by portlint.gerald2005-05-011-3/+3 * Complete the repocopy of gcc40 to gcc41 and update to the 20050424gerald2005-04-254-44/+44 * GCC 4.0.0 has been release. Update to the first snapshot of GCC 4.0.1,gerald2005-04-252-14/+14 * Update to the 20050416 snapshot of GCC 4.0.0.gerald2005-04-182-13/+13 * Update to the 20050409 snapshot of GCC 4.0.0. That's getting rather closegerald2005-04-112-13/+13 * Update to the 20050402 snapshot of GCC 4.0.0.gerald2005-04-042-13/+13 * Mark BROKEN on sparc64. I reported the problem upstream, but there is nogerald2005-04-011-0/+4 * Update to the 20050319 snapshot of GCC 4.0.0.gerald2005-03-212-13/+13 * Update to the 20050312 of GCC 4.0.0.gerald2005-03-202-13/+13 * portlint.obrien2005-03-021-2/+8 * Update to the 20050226 snapshot.obrien2005-03-022-13/+13 * Update to the 20050220 snapshot of GCC 4.0, and mostly fix the packing listgerald2005-02-223-18/+20 * Update to the 20050130 snapshot of GCC 4.0.0. Adjust pkg-plist wrt. togerald2005-02-023-19/+17 * Update to the 20050116 snapshot of GCC 4.0.gerald2005-01-172-14/+14 * Update to the 20050109 snapshot of GCC 4.0.0.gerald2005-01-102-13/+13 * Update to the 20041226 snapshot of GCC 4.0.0.gerald2004-12-282-13/+13 * Update to the 20041219 snapshot of GCC 4.0.0. Quite some changes.gerald2004-12-252-13/+14 * Adding knob WITH_FORTRAN.maho2004-12-163-1/+20 * Update to the 20041205 snapshot of GCC 4.0.0.gerald2004-12-072-11/+11 * Update to the 20041128 snapshot of GCC 4.0.0.gerald2004-11-302-11/+11 * Update to the 20041121 snapshot of GCC 4.0.0 (removing last traces of thegerald2004-11-222-13/+12 * Update to the 20041114 snapshot of GCC 4.0.0.gerald2004-11-152-11/+11 * Adjust the names of the individual frontends to GCC 4.0.gerald2004-11-101-3/+3 * Update to the 20041107 snapshot of GCC 4.0.0 which contains some iconv-gerald2004-11-083-26/+11 * Revert those changes from the prevision commit (revision 1.181) that weregerald2004-11-071-12/+4 * Catch the 'cklatest' target up to changes on the MASTER_SITES.obrien2004-11-061-5/+13 * Autogenerate the libexec portion of PLIST.obrien2004-11-062-21/+8 * Complete the repo-copy of gcc34 to gcc40 and update to the 20041024gerald2004-10-315-62/+63 * Update to the 20041015 snapshot of GCC 3.4.3.gerald2004-10-222-14/+14 * Update to the 20040827 snapshot of GCC 3.4.2.gerald2004-09-042-13/+13