[ooo-build-commit] patches/dev300
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Jan 18 20:37:16 PST 2010
patches/dev300/apply | 3 +++
patches/dev300/svtools-uninitialized-member-fix.diff | 12 ++++++++++++
2 files changed, 15 insertions(+)
New commits:
commit b17c81b12fd3f6fde52f9aea4a7d0888a9fb1e4f
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Mon Jan 18 23:37:06 2010 -0500
Valgrind says an uninitialized value is used.
* patches/dev300/apply:
* patches/dev300/svtools-uninitialized-member-fix.diff: initialize
eSetType data member before it gets accessed.
diff --git a/patches/dev300/apply b/patches/dev300/apply
index a1b7813..ceb4e70 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -849,6 +849,9 @@ calc-xlsx-import-default-cellstyle.diff, n#558577, kohei
# correctly highlight disjoint ranges in chart mode.
chart-highlight-selection-fix.diff, n#568016, kohei
+# make sure to initialize data member before it gets used.
+svtools-uninitialized-member-fix.diff, kohei
+
# Support PHONETIC function to display asian phonetic guide.
# LATER: I'll take care of this later. --kohei
# calc-formula-asian-phonetic.diff, i#80764, i#80765, i#80766, kohei
diff --git a/patches/dev300/svtools-uninitialized-member-fix.diff b/patches/dev300/svtools-uninitialized-member-fix.diff
new file mode 100644
index 0000000..2af7878
--- /dev/null
+++ b/patches/dev300/svtools-uninitialized-member-fix.diff
@@ -0,0 +1,12 @@
+diff --git svtools/source/numbers/zforfind.cxx svtools/source/numbers/zforfind.cxx
+index 9fba39e..872ada2 100644
+--- svtools/source/numbers/zforfind.cxx
++++ svtools/source/numbers/zforfind.cxx
+@@ -138,6 +138,7 @@ void ImpSvNumberInputScan::Reset()
+ nAnzNums = 0;
+ nThousand = 0;
+ eScannedType = NUMBERFORMAT_UNDEFINED;
++ eSetType = NUMBERFORMAT_UNDEFINED;
+ nAmPm = 0;
+ nPosThousandString = 0;
+ nLogical = 0;
More information about the ooo-build-commit
mailing list