[libreoffice/f18] Related: rhbz#924515 uninitialized variable in editengine

Caolán McNamara caolanm at fedoraproject.org
Tue Apr 16 11:42:59 UTC 2013


commit f0a56ac8e08421289e7953bc283fa11676c8c86c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 16 12:42:55 2013 +0100

    Related: rhbz#924515 uninitialized variable in editengine

 0001-valgrind-uninitialized-value.patch |   25 +++++++++++++++++++++++++
 libreoffice.spec                        |    7 ++++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/0001-valgrind-uninitialized-value.patch b/0001-valgrind-uninitialized-value.patch
new file mode 100644
index 0000000..9ab2a38
--- /dev/null
+++ b/0001-valgrind-uninitialized-value.patch
@@ -0,0 +1,25 @@
+From 7093b2418d036b47ed706464956f330cfb89707a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm at redhat.com>
+Date: Wed, 6 Jun 2012 16:23:36 +0100
+Subject: [PATCH] valgrind: uninitialized value
+
+Change-Id: I405733a77a721f3d5562782e654a1942fe3b073e
+---
+ editeng/source/editeng/impedit2.cxx | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
+index 246ad29..be1e766 100644
+--- a/editeng/source/editeng/impedit2.cxx
++++ b/editeng/source/editeng/impedit2.cxx
+@@ -99,6 +99,7 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
+     bAddExtLeading(false),
+     bIsFormatting(false),
+     bFormatted(false),
++    bInSelection(false),
+     bIsInUndo(false),
+     bUpdate(true),
+     bUndoEnabled(true),
+-- 
+1.8.1.2
+
diff --git a/libreoffice.spec b/libreoffice.spec
index be99067..32b9d73 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -44,7 +44,7 @@ Summary:        Free Software Productivity Suite
 Name:           libreoffice
 Epoch:          1
 Version:        %{libo_version}.2
-Release:        2%{?libo_prerelease}%{?dist}
+Release:        3%{?libo_prerelease}%{?dist}
 License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0
 Group:          Applications/Productivity
 URL:            http://www.documentfoundation.org/develop
@@ -257,6 +257,7 @@ Patch35: 0001-Resolves-rhbz-920697-i110881-rhbz-623191-presentatio.patch
 Patch36: 0001-rhbz-876742-speed-up-table-manipulation-in-Impress.patch
 Patch37: 0001-fdo-62617-display-groups-on-multiple-layers-correctl.patch
 Patch38: 0001-Resolves-rhbz-949238-div-by-zero-on-pagedown-in-0-wi.patch
+Patch39: 0001-valgrind-uninitialized-value.patch
 
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %define instdir %{_libdir}
@@ -1007,6 +1008,7 @@ mv -f redhat.soc extras/source/palettes/standard.soc
 %patch36 -p1 -b .rhbz-876742-speed-up-table-manipulation-in-Impress.patch
 %patch37 -p1 -b .fdo-62617-display-groups-on-multiple-layers-correctl.patch
 %patch38 -p1 -b .rhbz-949238-div-by-zero-on-pagedown-in-0-wi.patch
+%patch39 -p1 -b .valgrind-uninitialized-value.patch
 
 # TODO: check this
 # these are horribly incomplete--empty translations and copied english
@@ -2276,6 +2278,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
 %endif
 
 %changelog
+* Thu Apr 16 2013 Caolán McNamara <caolanm at redhat.com> - 1:3.6.6.2-3
+- Related: rhbz#924515 uninitialized variable in editengine
+
 * Mon Apr 08 2013 Caolán McNamara <caolanm at redhat.com> - 1:3.6.6.2-2
 - Resolves: rhbz#949238 div by zero on pagedown in 0 width task pane
 


More information about the scm-commits mailing list