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 311684 - evolution-data-server crashes trying to reply all (patch included)
evolution-data-server crashes trying to reply all (patch included)
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.2.x (obsolete)
Other All
: High critical
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
: 303685 308355 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-27 07:40 UTC by Wolfgang Ocker
Modified: 2005-08-19 06:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Wolfgang Ocker 2005-07-27 07:40:14 UTC
Steps to reproduce:
1. The LDAP dataserver backend is used as primary contact source
2. Contacs have multiple email addresses
3. "Reply all" to an email. Sometimes the dataserver crashes

Stack trace:
See bug #303685 (sorry for the bad formatting there)

Other information:
See bug #303685.

The stack is overwritten in email_ber(). That might cause these problems.
Here's the fix:

evolution-data-server-1.2.2/addressbook/backends/ldap/e-book-backend-ldap.c.fix_ldap_crash
 2005-03-06 15:56:37.000000000 +0100
+++ evolution-data-server-1.2.2/addressbook/backends/ldap/e-book-backend-ldap.c
2005-06-27 11:18:03.000000000 +0200

@@ -2127,7 +2137,7 @@
 email_ber(EContact *contact)
 {
        struct berval** result;
-       const char *emails[3];
+       const char *emails[4];
        int i, j, num = 0;
 
        for (i = 0; i < 4; i ++) {
Comment 1 Sushma Rai 2005-07-27 09:16:47 UTC
Patch looks good.
Committed to CVS head.
Comment 2 Sushma Rai 2005-07-27 09:18:42 UTC
*** Bug 303685 has been marked as a duplicate of this bug. ***
Comment 3 Sushma Rai 2005-08-19 06:28:08 UTC
*** Bug 308355 has been marked as a duplicate of this bug. ***