aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
author3 <NotZed@Ximian.com>2001-10-04 08:58:44 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-04 08:58:44 +0800
commit7f5f136bf3254ca6417c0b8fb1452dab295b1a60 (patch)
tree876da3e8ce54a2430bb68704f47ead4c5e5469ea /mail
parentf4742f289219942139b54514eaa8ed00dc71971a (diff)
downloadgsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar.gz
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.tar.zst
gsoc2013-evolution-7f5f136bf3254ca6417c0b8fb1452dab295b1a60.zip
Only build destination data if we have destination != NULL. Fixes crash of
2001-10-03 <NotZed@Ximian.com> * mail-send-recv.c (build_dialogue): Only build destination data if we have destination != NULL. Fixes crash of bug #10835. svn path=/trunk/; revision=13400
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-send-recv.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index de4f716089..b733e5131a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-10-03 <NotZed@Ximian.com>
+ * mail-send-recv.c (build_dialogue): Only build destination data
+ if we have destination != NULL. Fixes crash of bug #10835.
+
* folder-browser.c (folder_browser_config_search): Set 'to' ->
'recipient' data for search object. #6199.
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index d758bd6dca..62f9c789c6 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -358,7 +358,7 @@ build_dialogue (GSList *sources, CamelFolder *outbox, const char *destination)
row++;
gtk_widget_show_all (GTK_WIDGET (table));
- if (outbox) {
+ if (outbox && destination) {
info = g_hash_table_lookup (data->active, destination);
if (info == NULL) {
info = g_malloc0 (sizeof (*info));
2002-04-102-2/+2 * Patch to use the new names of some of the usb.h's structures' fields ifmi2002-04-093-3/+36 * Remove #include <malloc.h>kris2002-03-311-0/+4 * Fix Japanese message catalog to work with gettext 0.10.40.naddy2002-03-223-0/+180 * Iconv cleanup, stage 2b: remove regex hacks that change iconv.h to giconv.h andsobomax2002-03-182-8/+0 * Bump PORTREVISION to reflect the (lib)iconv upgrade.knu2002-03-182-2/+2 * Iconv cleanup, stage 1b: correct {BUILD,LIB,RUN}_DEPENDS of all ports that needsobomax2002-03-182-2/+2 * MASTER_SITE moved.fenner2002-03-182-2/+2 * - Fix pilot_makedoc to always print enough \n'skevlo2002-03-182-4/+12 * Stage 1 of gettext update.ade2002-03-162-2/+2 * Make syncmal install directly into PREFIX, to match jpilot and pilot-link.fenner2002-03-021-3/+1 * Update to 0.62.2fenner2002-03-012-3/+3 * - Fix patch to point to the correct path due to the PREFIX cleaning donepat2002-02-231-1/+1 * Correct location of pilot-xfer file since it has changed due to thepat2002-02-211-1/+1 * Fix build after movement of pilot-link's library.dirk2002-02-151-7/+8 * Update to version 0.99.2kevlo2002-02-0918-1074/+155 * Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;knu2002-01-292-4/+4 * This port has been obsoleted by deskutils/kdepim.will2002-01-2212-240/+0 * - Don't install useless now ${PREFIX}/etc/rc.d/pilot-link.sh. Bumpsobomax2002-01-096-48/+6 * Now pisock shared library is in the ${LOCALBASE}/lib, move pilot-link fromsobomax2002-01-073-9/+6 * Make pilot-link install directly into PREFIX. This should allowwill2002-01-0511-225/+203 * Remove pilot-link explicitly specified in LIB_DEPENDS - the port inheritssobomax2001-12-263-6/+3 * Move pilot-link from LIB_DEPENDS to {BUILD,RUN}_DEPENDS, because when buildingsobomax2001-12-193-6/+9 * Add a LIB_DEPENDS on libintl.1 so the pkg-plist is correct and we getsteve2001-12-161-0/+2 * - Fix a malloc.h syndrome on -CURRENT;sobomax2001-12-146-0/+54 * - Add several missed files into pkg-plist and remove from there entries forsobomax2001-12-146-18/+66 * Update to 0.1.64.sobomax2001-12-066-6/+6 * Update to 0.8.sobomax2001-12-066-6/+6 * Chase checksum.dirk2001-12-041-1/+1 * Make this port PREFIX clean. Required for KDE 2.2.2 upgrade, as well aswill2001-12-046-198/+204 * Update to 0.7.sobomax2001-12-0318-108/+219 * Update to 0.1.63.sobomax2001-12-0321-372/+132 * Use $MASTER_SITE_SOURCEFORGE.kuriyama2001-11-283-5/+6 * Style police: remove trailing space in WWW taglioux2001-11-211-1/+1 * Add plucker 1.1.13, an offline HTML viewer for PalmOS devices.markp2001-10-057-0/+313 * add PTHREAD_CFLAGS/LIBS to work with fltk/libGL.sf2001-09-251-0/+2 * Fix MASTER_SITES and WWW. The site has been moved.knu2001-09-222-2/+2 * Correct version number of libpisock.sobomax2001-09-034-4/+4 * Fix MASTER_SITES.dirk2001-09-021-2/+2 * Fix shared library number for pisock (.3 -> .4).dirk2001-09-021-1/+2 * pisock.3 --> pisock.4 in LIB_DEPENDS.sobomax2001-08-313-3/+3 * Depend on new Pilot-linkdwcjr2001-08-301-2/+2 * Patch one source file to get rid of getopt.h -- the package does not usemi2001-08-282-0/+12 * Upgrade to 0.9.5, use -lgiconv.mi2001-08-2514-48/+102 * Upgrade this ports to 1.2.4 and 2.1.3 respectively. The maintainermi2001-08-254-4/+4 * Install locale files to match pkg-plist. I assume this has beenalex2001-08-241-0/+2 * Upgrade to 2.8p5.kuriyama2001-06-263-5/+24 * Remove empty patches in filesdwcjr2001-06-234-0/+0 * Add ppmtoTbmp 1.1, PPM to Pilot bitmap converter.markp2001-06-116-0/+45 * Add sitescooper 3.1.2,markp2001-06-117-0/+685 * Update to version 0.62fenner2001-06-082-2/+2 * Use proper POSIX syntax for `chown'.obrien2001-06-011-1/+1 * upgrade to 2.1.2ijliao2001-05-303-2/+6 * upgrade to 0.9.4ijliao2001-05-192-2/+2 * SWitch maintainership of core GNOME ports to a small group ofade2001-05-126-6/+6 * Various patches (mainly shared library revision changes) for thoseade2001-05-053-9/+6 * Make RUN_DEPENDS on jpilot a file dependency, not a binary-in-pathfenner2001-04-201-1/+1 * Make jpilot and malsync work directories relative to our work directory,fenner2001-04-182-17/+4 * More bento debugging.fenner2001-04-171-1/+2 * More bento debugging.fenner2001-04-171-1/+2 * make bento happier (bibelot.pl -> bibelot)ijliao2001-04-151-1/+1 * Try to debug the bento build, since it works everywhere else.fenner2001-04-151-0/+11 * update to 3.1mharo2001-04-0411-93/+195 * Overhaul QT/KDE support:will2001-04-031-4/+1 * upgrade to 0.9.3ijliao2001-04-033-3/+3 * -pthread --> ${PTHREAD_LIBS}sobomax2001-03-306-6/+6 * Insert ${WRKDIRPREFIX} when looking for other ports' work dirs.fenner2001-03-291-2/+2 * add romeoijliao2001-03-258-0/+55 * A jpilot plugin for malsync.fenner2001-03-236-0/+37 * Upgrade to 2.7b.kuriyama2001-03-132-2/+2 * Update to version 1.0.2.olgeni2001-03-086-46/+2 * Change my email address in the Maintainer linekeichii2001-03-08