diff options
Diffstat (limited to 'community/libstaroffice/fix-maybe-uninitialized.patch')
-rw-r--r-- | community/libstaroffice/fix-maybe-uninitialized.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/libstaroffice/fix-maybe-uninitialized.patch b/community/libstaroffice/fix-maybe-uninitialized.patch new file mode 100644 index 0000000000..b4f1ec9385 --- /dev/null +++ b/community/libstaroffice/fix-maybe-uninitialized.patch @@ -0,0 +1,11 @@ +--- a/src/lib/StarGraphicStruct.cxx ++++ b/src/lib/StarGraphicStruct.cxx +@@ -152,7 +152,7 @@ + { + if (!pattern) return false; + STOFFVec2i sz(8,8); +- unsigned tmpBufferPosition, tmpDIBFileSize; ++ unsigned tmpBufferPosition, tmpDIBFileSize = 0; + auto tmpDIBBuffer=createAndInitBMPData(sz, tmpDIBFileSize, tmpBufferPosition); + if (!tmpDIBBuffer) return false; + |