slackware-current/source/kde/patch/calligra/0065-Backport-Plan-Fix-crash-due-to-accessing-deleted-obj.patch
Patrick J Volkerding d0ac7419a9 Mon Mar 18 22:53:51 UTC 2019
ap/cups-filters-1.22.2-x86_64-1.txz:  Upgraded.
kde/calligra-2.9.11-x86_64-28.txz:  Rebuilt.
  Patched to fix Calligra Plan crash. Thanks to Olek.
l/adwaita-icon-theme-3.32.0-noarch-1.txz:  Upgraded.
l/giflib-5.1.8-x86_64-1.txz:  Upgraded.
l/libssh2-1.8.1-x86_64-1.txz:  Upgraded.
  Fixed several security issues.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3855
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3856
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3857
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3858
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3859
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3860
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3861
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3862
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3863
  (* Security fix *)
x/scim-1.4.18-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-60.6.0esr-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/60.6.0/releasenotes/
2019-03-19 08:59:44 +01:00

32 lines
1.1 KiB
Diff

From 7c64caec3022b28775ea85864eef47bf2ac51066 Mon Sep 17 00:00:00 2001
From: Dag Andersen <danders@get2net.dk>
Date: Mon, 22 Aug 2016 08:49:13 +0200
Subject: [PATCH 65/80] Backport: Plan: Fix crash due to accessing deleted
object
KReportDesigner takes ownership of reportdata, so give it a clone it can delete
---
plan/libs/ui/reports/reportview.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plan/libs/ui/reports/reportview.cpp b/plan/libs/ui/reports/reportview.cpp
index 462a31d..8552790 100644
--- a/plan/libs/ui/reports/reportview.cpp
+++ b/plan/libs/ui/reports/reportview.cpp
@@ -1250,10 +1250,10 @@ void ReportDesigner::createDockers()
void ReportDesigner::setReportData( const QString &tag )
{
-
+ emit optionsModified();
ReportData *rd = Report::findReportData( m_reportdatamodels, tag );
- if ( rd != m_designer->reportData() ) {
- emit optionsModified();
+ if ( rd ) {
+ rd = rd->clone(); // KReportDesigner takes ownership, so give it a clone it can delete
}
m_designer->setReportData( rd );
--
2.7.4