New upstream release 2.11.3

Signed-off-by: Matěj Grabovský <mgrabovs@redhat.com>
This commit is contained in:
Matěj Grabovský 2019-11-14 10:44:05 +01:00
parent d65da2513b
commit 6bf691a3db
4 changed files with 19 additions and 43 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/libreport-2.11.0.tar.gz
/libreport-2.11.1.tar.gz
/libreport-2.11.2.tar.gz
/libreport-2.11.3.tar.gz

View File

@ -1,38 +0,0 @@
From 36c5e90469b36cb0724f45447ae923a6d6ccf348 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= <mgrabovs@redhat.com>
Date: Fri, 25 Oct 2019 12:37:44 +0200
Subject: [PATCH] gtk: Fix another possible double-free
The object should only be freed if we're in the cleanup phase, i.e. only
in the if-branch of the condition.
This one was introduced in dc281652.
---
src/gui-wizard-gtk/wizard.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 4b840bac..ec8bb68b 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -2518,7 +2518,7 @@ static bool highligh_words_in_textview(int page, GtkTextView *tev, GList *words,
while (valid)
{
g_autofree char *text = NULL;
- g_autofree search_item_t *word = NULL;
+ search_item_t *word = NULL;
gtk_tree_model_get(GTK_TREE_MODEL(g_ls_sensitive_list), &iter,
SEARCH_COLUMN_TEXT, &text,
@@ -2533,6 +2533,8 @@ static bool highligh_words_in_textview(int page, GtkTextView *tev, GList *words,
if (word == g_current_highlighted_word)
g_current_highlighted_word = NULL;
+
+ free(word);
}
else
{
--
2.23.0

View File

@ -14,8 +14,8 @@
Summary: Generic library for reporting various problems
Name: libreport
Version: 2.11.2
Release: 2%{?dist}
Version: 2.11.3
Release: 1%{?dist}
License: GPLv2+
URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
@ -63,8 +63,6 @@ Requires: lz4
BuildRequires: sed
%endif
Patch0: 0001-gtk-Fix-another-possible-double-free.patch
%description
Libraries providing API for reporting different problems in applications
to different bug targets like Bugzilla, ftp, trac, etc...
@ -751,6 +749,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%changelog
* Thu Nov 14 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.3-1
- Remove unused scripts
- gtk: Fix infinite loop crashing the reporting
- gtk: Improve logging
- gtk: Remove page number from page struct
- gtk: Code style adjustments
- Make notebook tabs invisible again
- gui-wizard-gtk: Remove expert mode
- gui-wizard-gtk: Stop allowing overriding UI definitions
- pull-trans: Suggest zanata install
- shellcheck: Iterating over ls output is fragile. Use globs.
- shellcheck: Double quote to prevent globbing and word splitting
- zanata: Use python3 zanata client to pull translations
- gtk: Fix another possible double-free
* Mon Nov 11 2019 Ernestas Kulik <ekulik@redhat.com> - 2.11.2-2
- Add patch to fix a double-free

View File

@ -1 +1 @@
SHA512 (libreport-2.11.2.tar.gz) = 26181aab66b2ef28399086553edb0e331e35706b2526ea659699c9f330422a1731125133d68b925010fefbe08502535cffbd1d570c708eaecfebf0451d8492bd
SHA512 (libreport-2.11.3.tar.gz) = 0dc78c77a94ded2d1be646b0f9481765bf10a865ab28f2a226483f8bc5e43fce20f3612332fdc9cee5adb9f8d9c89b59e9d388e9c60425b9ff5f83c9a50132a1