summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-06 21:50:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-07 11:06:45 +0000
commit88aabebed1ded59d0a4b84c92c6fc6ccbdd96728 (patch)
tree1808e9843cccd913a3bb996cfc84fdc190260983 /sc
parent387389b644b91808fdee74846b2d855382f48ed7 (diff)
Conditional jump or move depends on uninitialised value
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/data/slk/pass/CVE-2011-1276-1.slkbin0 -> 4406 bytes
-rw-r--r--sc/source/filter/excel/xltracer.cxx5
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/qa/unit/data/slk/pass/CVE-2011-1276-1.slk b/sc/qa/unit/data/slk/pass/CVE-2011-1276-1.slk
new file mode 100644
index 000000000000..061e609bd5d9
--- /dev/null
+++ b/sc/qa/unit/data/slk/pass/CVE-2011-1276-1.slk
Binary files differ
diff --git a/sc/source/filter/excel/xltracer.cxx b/sc/source/filter/excel/xltracer.cxx
index 8600d804cd57..083d4c7f4033 100644
--- a/sc/source/filter/excel/xltracer.cxx
+++ b/sc/source/filter/excel/xltracer.cxx
@@ -36,8 +36,9 @@ using ::rtl::OUString;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::beans::PropertyValue;
-XclTracer::XclTracer( const String& rDocUrl ) :
- maFirstTimes(eTraceLength,true)
+XclTracer::XclTracer( const String& rDocUrl )
+ : mbEnabled(false)
+ , maFirstTimes(eTraceLength,true)
{
Sequence< PropertyValue > aConfigData( 1 );
aConfigData[ 0 ].Name = CREATE_OUSTRING( "DocumentURL" );