[evolution-mapi] Bug #628016 - Stack overflow in ebbm_contacts_remove



commit eeb0a9dd4a7c41e5bd8ea937dafd427c468d0f40
Author: Milan Crha <mcrha redhat com>
Date:   Thu Aug 26 12:02:45 2010 +0200

    Bug #628016 - Stack overflow in ebbm_contacts_remove

 src/addressbook/e-book-backend-mapi-contacts.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-mapi-contacts.c b/src/addressbook/e-book-backend-mapi-contacts.c
index d0be89e..6db37a4 100644
--- a/src/addressbook/e-book-backend-mapi-contacts.c
+++ b/src/addressbook/e-book-backend-mapi-contacts.c
@@ -689,8 +689,8 @@ ebbm_contacts_remove (EBookBackendMAPI *ebma, GError **error)
 	priv = E_BOOK_BACKEND_MAPI_CONTACTS (ebma)->priv;
 	e_return_data_book_error_if_fail (priv != NULL, E_DATA_BOOK_STATUS_INVALID_ARG);
 
-	if (E_BOOK_BACKEND_MAPI_GET_CLASS (ebma)->op_remove)
-		E_BOOK_BACKEND_MAPI_GET_CLASS (ebma)->op_remove (ebma, &mapi_error);
+	if (E_BOOK_BACKEND_MAPI_CLASS (e_book_backend_mapi_contacts_parent_class)->op_remove)
+		E_BOOK_BACKEND_MAPI_CLASS (e_book_backend_mapi_contacts_parent_class)->op_remove (ebma, &mapi_error);
 
 	if (mapi_error) {
 		mapi_error_to_edb_error (error, mapi_error, E_DATA_BOOK_STATUS_OTHER_ERROR, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]