Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2607
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/07/2607/1
coverity#989730 and coverity#989729: Uninitialized scalar field
Change-Id: Iaecfa720b898746d457de731734b332226d3e9c2
---
M unoidl/source/reg2unoidl.cxx
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unoidl/source/reg2unoidl.cxx b/unoidl/source/reg2unoidl.cxx
index 730d42e..0f0b53e 100644
--- a/unoidl/source/reg2unoidl.cxx
+++ b/unoidl/source/reg2unoidl.cxx
@@ -248,7 +248,7 @@
struct Item {
explicit Item(rtl::Reference< unoidl::Entity > const & theEntity):
- entity(theEntity)
+ entity(theEntity),nameOffset(0),dataOffset(0)
{}
rtl::Reference< unoidl::Entity > entity;
@@ -258,7 +258,7 @@
struct ConstItem {
explicit ConstItem(unoidl::ConstantValue const & theConstant):
- constant(theConstant)
+ constant(theConstant),nameOffset(0),dataOffset(0)
{}
unoidl::ConstantValue constant;
--
To view, visit https://gerrit.libreoffice.org/2607
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaecfa720b898746d457de731734b332226d3e9c2
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marc-André Laverdière <marc-andre@atc.tcs.com>
Context
- [PATCH] coverity#989730 and coverity#989729: Uninitialized scalar fi... · via Code Review
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.