[Evolution] Bug#324007: patch

Mirco Bauer meebey at meebey.net
Wed Nov 16 09:23:18 UTC 2005


retitle 324007 ldap-data-server crashes when trying to create/update contacts stored in ldap
tags 324007 + patch upstream fixed-upstream
forwarded 324007 http://bugzilla.gnome.org/show_bug.cgi?id=303685
thanks

The problem is not GCC, but the broken code is.

Here a patch which I found at redhat to fix the LDAP backend:
https://www.redhat.com/archives/fedora-cvs-commits/2005-August/msg00463.html

in case the URL dies, here the patch copied:

+++ evolution-data-server-1.2.3/addressbook/backends/ldap/e-book-backend-ldap.c	2005-08-08 13:20:28.000000000 -0400
@@ -2127,7 +2127,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 ++) {

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key:
http://keyserver.noreply.org/pks/lookup?op=get&search=0xEEF946C8

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
V? PS
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-evolution-maintainers/attachments/20051116/7a1be114/attachment.pgp


More information about the Pkg-evolution-maintainers mailing list