After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643095 - Crash when opening invalid multipart/signed message
Crash when opening invalid multipart/signed message
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-02-23 17:02 UTC by Milan Crha
Modified: 2013-09-14 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test email (816 bytes, text/plain)
2011-02-23 17:02 UTC, Milan Crha
Details

Description Milan Crha 2011-02-23 17:02:47 UTC
Created attachment 181724 [details]
test email

Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=679710

Evolution crashes when trying to import (or view downloaded) attached message with a backtrace:

GLib-ERROR **: gmem.c:202: failed to allocate 18446744073709551590 bytes
aborting...

Program received signal SIGABRT, Aborted.

Thread 140736833709824 (LWP 26852)

  • #0 raise
    from /lib64/libc.so.6
  • #1 abort
    from /lib64/libc.so.6
  • #2 g_logv
    at gmessages.c line 557
  • #3 g_log
    at gmessages.c line 577
  • #4 g_malloc0
    at gmem.c line 201
  • #5 multipart_signed_clip_stream
    at camel-multipart-signed.c line 72
  • #6 multipart_signed_get_part
    at camel-multipart-signed.c line 471
  • #7 camel_multipart_get_part
    at camel-multipart.c line 500
  • #8 summary_build_content_info_message
    at camel-folder-summary.c line 4029
  • #9 summary_build_content_info_message
    at camel-folder-summary.c line 4031
  • #10 camel_folder_summary_info_new_from_message
    at camel-folder-summary.c line 2751
  • #11 camel_folder_summary_add_from_message
    at camel-folder-summary.c line 2606
  • #12 local_summary_add
    at camel-local-summary.c line 506
  • #13 maildir_summary_add
    at camel-maildir-summary.c line 260
  • #14 camel_local_summary_add
    at camel-local-summary.c line 329
  • #15 maildir_folder_append_message_sync
    at camel-maildir-folder.c line 145
  • #16 camel_folder_append_message_sync
    at camel-folder.c line 3036
  • #17 import_mbox_exec
    at mail-importer.c line 184
  • #18 mail_msg_proxy
    at mail-mt.c line 415
  • #19 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #20 g_thread_create_proxy
    at gthread.c line 1897
  • #21 start_thread
    from /lib64/libpthread.so.0
  • #22 clone
    from /lib64/libc.so.6

Comment 1 Milan Crha 2011-02-23 17:22:24 UTC
Created commit b839f57 in eds master (2.91.91+)