- Add fix from Matthias Clasen that might help bug 202309.

This commit is contained in:
Ray Strode 2006-08-16 20:01:46 +00:00
parent f7c194fc3d
commit 3ea179c2d5
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,20 @@
--- evolution-data-server-1.7.91/camel/providers/imap/camel-imap-search.c.maybe-fix-crash 2006-08-16 15:56:44.000000000 -0400
+++ evolution-data-server-1.7.91/camel/providers/imap/camel-imap-search.c 2006-08-16 15:57:09.000000000 -0400
@@ -342,8 +342,6 @@ sync_match(CamelImapSearch *is, struct _
}
g_string_append_c (search, '"');
}
- camel_search_words_free (words);
-
/* We only try search using utf8 if its non us-ascii text? */
if ((words->type & CAMEL_SEARCH_WORD_8BIT) && (store->capabilities & IMAP_CAPABILITY_utf8_search)) {
response = camel_imap_command (store, folder, NULL,
@@ -352,6 +350,8 @@ sync_match(CamelImapSearch *is, struct _
if (response == NULL)
store->capabilities &= ~IMAP_CAPABILITY_utf8_search;
}
+ camel_search_words_free (words);
+
if (response == NULL)
response = camel_imap_command (store, folder, NULL,
"UID SEARCH %s", search->str);

View File

@ -22,7 +22,7 @@
Name: evolution-data-server Name: evolution-data-server
Version: 1.7.91 Version: 1.7.91
Release: 2 Release: 3%{?dist}
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
Summary: Backend data server for Evolution Summary: Backend data server for Evolution
@ -41,6 +41,9 @@ Patch14: evolution-data-server-1.5.4-make_imap4_optional.patch
# RH bug #202329 / Gnome.org bug #351317 # RH bug #202329 / Gnome.org bug #351317
Patch15: evolution-data-server-1.7.91-fix-edataserverui-libs.patch Patch15: evolution-data-server-1.7.91-fix-edataserverui-libs.patch
# RH bug #202309
Patch16: evolution-data-server-1.7.91-may-fix-crash.patch
### Dependencies ### ### Dependencies ###
Requires: GConf2 Requires: GConf2
@ -123,6 +126,7 @@ evolution-data-server.
%patch13 -p1 -b .fix-implicit-function-declarations %patch13 -p1 -b .fix-implicit-function-declarations
%patch14 -p1 -b .make_imap4_optional %patch14 -p1 -b .make_imap4_optional
%patch15 -p1 -b .fix-edataserverui-libs %patch15 -p1 -b .fix-edataserverui-libs
%patch16 -p1 -b .maybe-fix-crash
mkdir -p krb5-fakeprefix/include mkdir -p krb5-fakeprefix/include
mkdir -p krb5-fakeprefix/lib mkdir -p krb5-fakeprefix/lib
@ -325,6 +329,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libexchange-storage-%{eds_api_version}.pc %{_libdir}/pkgconfig/libexchange-storage-%{eds_api_version}.pc
%changelog %changelog
* Wed Aug 16 2006 Ray Strode <rstrode@redhat.com> - 1.7.91-3
- Add fix from Matthias Clasen that might help bug 202309.
* Mon Aug 14 2006 Matthew Barnes <mbarnes@redhat.com> - 1.7.91-2 * Mon Aug 14 2006 Matthew Barnes <mbarnes@redhat.com> - 1.7.91-2
- Add patch for RH bug #202329. - Add patch for RH bug #202329.