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 349847 - Use of uninitialized GError in camel_imap_message_cache_new()
Use of uninitialized GError in camel_imap_message_cache_new()
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
1.8.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 352289 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-03 21:04 UTC by Matthew Barnes
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed patch for CVS HEAD (421 bytes, patch)
2006-08-03 21:05 UTC, Matthew Barnes
none Details | Review
Proposed patch (942 bytes, patch)
2006-08-22 16:14 UTC, Matthew Barnes
committed Details | Review

Description Matthew Barnes 2006-08-03 21:04:12 UTC
An uninitialized GError is passed to g_dir_open() in camel_imap_message_cache_new().

GError pointers should be initialized to NULL before being passed to a function that may set it.
Comment 1 Matthew Barnes 2006-08-03 21:05:22 UTC
Created attachment 70164 [details] [review]
Proposed patch for CVS HEAD
Comment 2 Dave Malcolm 2006-08-21 19:05:26 UTC
*** Bug 352289 has been marked as a duplicate of this bug. ***
Comment 3 Dave Malcolm 2006-08-21 19:08:44 UTC
Confirming: obvious bug, causing segfaults for me.
Comment 4 Matthew Barnes 2006-08-22 16:14:55 UTC
Created attachment 71375 [details] [review]
Proposed patch

Found another one in the calendar tests.  This new patch takes care of both.
Comment 5 Srinivasa Ragavan 2006-08-23 06:18:38 UTC
Fixed to HEAD.