Add patch for RH bug #1754321 (alarm-notify: Double-free with certain types of the reminder)
This commit is contained in:
parent
8963b566ed
commit
a99f92dd6a
26
evolution-data-server-3.35.3-alarm-notify-double-free.patch
Normal file
26
evolution-data-server-3.35.3-alarm-notify-double-free.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/src/services/evolution-alarm-notify/e-alarm-notify.c b/src/services/evolution-alarm-notify/e-alarm-notify.c
|
||||
index a97e258b4..7eba95f60 100644
|
||||
--- a/src/services/evolution-alarm-notify/e-alarm-notify.c
|
||||
+++ b/src/services/evolution-alarm-notify/e-alarm-notify.c
|
||||
@@ -139,8 +139,6 @@ e_alarm_notify_audio (EAlarmNotify *an,
|
||||
if (!did_play)
|
||||
gdk_beep ();
|
||||
|
||||
- g_slist_free_full (attachments, g_object_unref);
|
||||
-
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -456,12 +454,9 @@ e_alarm_notify_procedure (EAlarmNotify *an,
|
||||
if (!result)
|
||||
goto fallback;
|
||||
|
||||
- g_slist_free_full (attachments, g_object_unref);
|
||||
-
|
||||
return FALSE;
|
||||
|
||||
fallback:
|
||||
- g_slist_free_full (attachments, g_object_unref);
|
||||
|
||||
return e_alarm_notify_display (an, rd, alarm);
|
||||
}
|
@ -37,12 +37,14 @@
|
||||
|
||||
Name: evolution-data-server
|
||||
Version: 3.35.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Backend data server for Evolution
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Evolution
|
||||
Source: http://download.gnome.org/sources/%{name}/3.35/%{name}-%{version}.tar.xz
|
||||
|
||||
Patch01: evolution-data-server-3.35.3-alarm-notify-double-free.patch
|
||||
|
||||
Provides: evolution-webcal = %{version}
|
||||
Obsoletes: evolution-webcal < 2.24.0
|
||||
|
||||
@ -171,6 +173,7 @@ the functionality of the installed %{name} package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch01 -p1 -b .alarm-notify-double-free
|
||||
|
||||
%build
|
||||
|
||||
@ -464,6 +467,9 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
|
||||
%{_datadir}/installed-tests
|
||||
|
||||
%changelog
|
||||
* Tue Jan 07 2020 Milan Crha <mcrha@redhat.com> - 3.35.3-2
|
||||
- Add patch for RH bug #1754321 (alarm-notify: Double-free with certain types of the reminder)
|
||||
|
||||
* Fri Jan 03 2020 Milan Crha <mcrha@redhat.com> - 3.35.3-1
|
||||
- Update to 3.35.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user