svn commit: r1717114 - /openoffice/trunk/main/sw/source/ui/dochdl/swdtflvr.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Sun Nov 29 20:16:07 2015
New Revision: 1717114

URL: http://svn.apache.org/viewvc?rev=1717114=rev
Log:
Resource Leak

CID:705760

Modified:
openoffice/trunk/main/sw/source/ui/dochdl/swdtflvr.cxx

Modified: openoffice/trunk/main/sw/source/ui/dochdl/swdtflvr.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/dochdl/swdtflvr.cxx?rev=1717114=1717113=1717114=diff
==
--- openoffice/trunk/main/sw/source/ui/dochdl/swdtflvr.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/dochdl/swdtflvr.cxx Sun Nov 29 20:16:07 
2015
@@ -2744,7 +2744,8 @@ int SwTransferable::_PasteDBData( Transf
 delete pCommandItem;
 delete pCommandTypeItem;
 delete pColumnNameItem;
-   delete pCursorItem;
+delete pSelectionItem;
+delete pCursorItem;
}
else
{




svn commit: r1717119 - /openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Sun Nov 29 20:39:42 2015
New Revision: 1717119

URL: http://svn.apache.org/viewvc?rev=1717119=rev
Log:
Resource Leak

CID:705772

Modified:
openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx

Modified: openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx?rev=1717119=1717118=1717119=diff
==
--- openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx (original)
+++ openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx Sun Nov 29 20:39:42 
2015
@@ -394,9 +394,10 @@ int StreamToFile(TrueTypeCreator *_this,
 FILE* fd;
 
 if ((r = StreamToMemory(_this, , )) != SF_OK) return r;
-if (!fname) return SF_BADFILE;
-if ((fd = fopen(fname, "wb")) == NULL) return SF_BADFILE;
-
+if ((!fname) || (fd = fopen(fname, "wb")) == NULL)) {
+free(ptr);
+return SF_BADFILE;
+}
 if (fwrite(ptr, 1, length, fd) != length) {
 r = SF_FILEIO;
 } else {




svn commit: r1717105 - in /openoffice/devtools/netbeansintegration/trunk: manifest.mf nbproject/genfiles.properties nbproject/project.xml

2015-11-29 Thread cmarcum
Author: cmarcum
Date: Sun Nov 29 18:18:54 2015
New Revision: 1717105

URL: http://svn.apache.org/viewvc?rev=1717105=rev
Log:
#i126711#
Updated modules for NB 8.1
Updated version to 4.1.4


Modified:
openoffice/devtools/netbeansintegration/trunk/manifest.mf
openoffice/devtools/netbeansintegration/trunk/nbproject/genfiles.properties
openoffice/devtools/netbeansintegration/trunk/nbproject/project.xml

Modified: openoffice/devtools/netbeansintegration/trunk/manifest.mf
URL: 
http://svn.apache.org/viewvc/openoffice/devtools/netbeansintegration/trunk/manifest.mf?rev=1717105=1717104=1717105=diff
==
--- openoffice/devtools/netbeansintegration/trunk/manifest.mf (original)
+++ openoffice/devtools/netbeansintegration/trunk/manifest.mf Sun Nov 29 
18:18:54 2015
@@ -4,7 +4,7 @@ OpenIDE-Module-Layer: org/openoffice/ext
 OpenIDE-Module-Localizing-Bundle: org/openoffice/extensions/Bundle.properties
 OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help
 OpenIDE-Module-Install: org/openoffice/extensions/config/OOoModuleInstall.class
-OpenIDE-Module-Specification-Version: 4.1.3
+OpenIDE-Module-Specification-Version: 4.1.4
 
 Name: org/openoffice/extensions/filetypes/odf/OdfDataLoader.class
 OpenIDE-Module-Class: Loader

Modified: 
openoffice/devtools/netbeansintegration/trunk/nbproject/genfiles.properties
URL: 
http://svn.apache.org/viewvc/openoffice/devtools/netbeansintegration/trunk/nbproject/genfiles.properties?rev=1717105=1717104=1717105=diff
==
--- openoffice/devtools/netbeansintegration/trunk/nbproject/genfiles.properties 
(original)
+++ openoffice/devtools/netbeansintegration/trunk/nbproject/genfiles.properties 
Sun Nov 29 18:18:54 2015
@@ -3,6 +3,6 @@ build.xml.script.CRC32=71d946a9
 build.xml.stylesheet.CRC32=1101b4cf
 # This file is used by a NetBeans-based IDE to track changes in generated 
files such as build-impl.xml.
 # Do not edit this file. You may delete it but then the IDE will never 
regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=ccd43d4d
+nbproject/build-impl.xml.data.CRC32=eb2db0d4
 nbproject/build-impl.xml.script.CRC32=0f0c9cde
-nbproject/build-impl.xml.stylesheet.CRC32=68e521fc@2.66.1
+nbproject/build-impl.xml.stylesheet.CRC32=68e521fc@2.71.1

Modified: openoffice/devtools/netbeansintegration/trunk/nbproject/project.xml
URL: 
http://svn.apache.org/viewvc/openoffice/devtools/netbeansintegration/trunk/nbproject/project.xml?rev=1717105=1717104=1717105=diff
==
--- openoffice/devtools/netbeansintegration/trunk/nbproject/project.xml 
(original)
+++ openoffice/devtools/netbeansintegration/trunk/nbproject/project.xml Sun Nov 
29 18:18:54 2015
@@ -34,6 +34,15 @@
 
 
 
+org.netbeans.api.xml.ui
+
+
+
+1
+1.43.1
+
+
+
 org.netbeans.libs.junit4
 
 
@@ -138,6 +147,15 @@
 
 
 
+
org.netbeans.modules.projectuiapi.base
+
+
+
+1
+1.83.1.9
+
+
+
 org.openide.awt
 
 
@@ -234,6 +252,14 @@
 
 
 
+org.openide.util.ui
+
+
+
+9.4.1
+
+
+
 org.openide.windows
 
 




svn commit: r1717121 - /openoffice/trunk/main/basic/source/runtime/iosys.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Sun Nov 29 20:47:44 2015
New Revision: 1717121

URL: http://svn.apache.org/viewvc?rev=1717121=rev
Log:
Resource Leak

CID:982916

Modified:
openoffice/trunk/main/basic/source/runtime/iosys.cxx

Modified: openoffice/trunk/main/basic/source/runtime/iosys.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/basic/source/runtime/iosys.cxx?rev=1717121=1717120=1717121=diff
==
--- openoffice/trunk/main/basic/source/runtime/iosys.cxx (original)
+++ openoffice/trunk/main/basic/source/runtime/iosys.cxx Sun Nov 29 20:47:44 
2015
@@ -238,6 +238,7 @@ sal_Bool needSecurityRestrictions( void
oslSecurity aSecurity = osl_getCurrentSecurity();
::rtl::OUString aSystemUser;
sal_Bool bRet = osl_getUserName( aSecurity,  
);
+   osl_freeSecurityHandle(aSecurity);
if( !bRet )
{
// No valid security! -> Secure mode!




svn commit: r1717122 - /openoffice/trunk/main/hwpfilter/source/hwpread.cpp

2015-11-29 Thread pfg
Author: pfg
Date: Sun Nov 29 20:50:47 2015
New Revision: 1717122

URL: http://svn.apache.org/viewvc?rev=1717122=rev
Log:
Resource Leak

CID:983009

Modified:
openoffice/trunk/main/hwpfilter/source/hwpread.cpp

Modified: openoffice/trunk/main/hwpfilter/source/hwpread.cpp
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/hwpfilter/source/hwpread.cpp?rev=1717122=1717121=1717122=diff
==
--- openoffice/trunk/main/hwpfilter/source/hwpread.cpp (original)
+++ openoffice/trunk/main/hwpfilter/source/hwpread.cpp Sun Nov 29 20:50:47 2015
@@ -327,6 +327,7 @@ int TxtBox::Read(HWPFile & hwpf)
  }
   TCell* *pArr = ::comphelper::newArray_null(ncell);
   if (!pArr) {
+delete tbl;
 return hwpf.SetState(HWP_InvalidFileFormat);
   }
  for( ii = 0 ; ii < ncell; ii++)




buildbot success in ASF Buildbot on openoffice-linux64-rat-aoo410

2015-11-29 Thread buildbot
The Buildbot has detected a passing build on builder 
openoffice-linux64-rat-aoo410 while building ASF Buildbot. Full details are 
available at:
http://ci.apache.org/builders/openoffice-linux64-rat-aoo410/builds/141

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: tethys_ubuntu

Build Reason: The Nightly scheduler named 'openoffice-linux64-rat-aoo410' 
triggered this build
Build Source Stamp: [branch openoffice/branches/AOO410] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





svn commit: r1717132 - /openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Sun Nov 29 22:56:45 2015
New Revision: 1717132

URL: http://svn.apache.org/viewvc?rev=1717132=rev
Log:
initialize pState

Modified:
openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx

Modified: openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx?rev=1717132=1717131=1717132=diff
==
--- openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx Sun Nov 29 22:56:45 2015
@@ -226,7 +226,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const
Check( MN_READONLY_OPENURL, SID_OPENDOC,
rDis );
Check( MN_READONLY_OPENURLNEW,  SID_OPENDOC,rDis );
 
-   SfxPoolItem* pState;
+   SfxPoolItem* pState = NULL;
 
 SfxItemState eState = pVFrame->GetBindings().QueryState( SID_COPY, pState 
);
 Check( MN_READONLY_COPY,SID_COPY,   rDis );




buildbot success in ASF Buildbot on openoffice-fbsd-nightly

2015-11-29 Thread buildbot
The Buildbot has detected a passing build on builder openoffice-fbsd-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-fbsd-nightly/builds/147

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-fbsd2_64bit

Build Reason: The Nightly scheduler named 'openoffice-fbsd-nightly' triggered 
this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on openoffice-linux64-nightly

2015-11-29 Thread buildbot
The Buildbot has detected a passing build on builder openoffice-linux64-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-linux64-nightly/builds/156

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: tethys_ubuntu

Build Reason: The Nightly scheduler named 'openoffice-linux64-nightly' 
triggered this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on openoffice-linux64-rat

2015-11-29 Thread buildbot
The Buildbot has detected a passing build on builder openoffice-linux64-rat 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-linux64-rat/builds/145

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: tethys_ubuntu

Build Reason: The Nightly scheduler named 'openoffice-linux64-rat' triggered 
this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





svn commit: r1717150 - /openoffice/trunk/main/rsc/source/rscpp/cpp1.c

2015-11-29 Thread pfg
Author: pfg
Date: Mon Nov 30 01:11:23 2015
New Revision: 1717150

URL: http://svn.apache.org/viewvc?rev=1717150=rev
Log:
Unbounded source buffer

CID:706163

Modified:
openoffice/trunk/main/rsc/source/rscpp/cpp1.c

Modified: openoffice/trunk/main/rsc/source/rscpp/cpp1.c
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/rsc/source/rscpp/cpp1.c?rev=1717150=1717149=1717150=diff
==
--- openoffice/trunk/main/rsc/source/rscpp/cpp1.c (original)
+++ openoffice/trunk/main/rsc/source/rscpp/cpp1.c Mon Nov 30 01:11:23 2015
@@ -329,7 +329,7 @@ nRunde++;
 cerror("Can't open input file \"%s\"", useargv[1]);
 exit(IO_ERROR);
 }
-strcpy(work, useargv[1]);  /* Remember input filename  */
+strncpy(work, useargv[1], sizeof(work));  /* Remember input 
filename  */
 break;
 }   /* Else, just get stdin */
 case 0: /* No args? */




buildbot failure in ASF Buildbot on openoffice-linux64-nightly

2015-11-29 Thread buildbot
The Buildbot has detected a failed build on builder openoffice-linux64-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-linux64-nightly/builds/157

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: tethys_ubuntu

Build Reason: The Nightly scheduler named 'openoffice-linux64-nightly' 
triggered this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

BUILD FAILED: failed

Sincerely,
 -The Buildbot





buildbot failure in ASF Buildbot on openoffice-fbsd-nightly

2015-11-29 Thread buildbot
The Buildbot has detected a failed build on builder openoffice-fbsd-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-fbsd-nightly/builds/148

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-fbsd2_64bit

Build Reason: The Nightly scheduler named 'openoffice-fbsd-nightly' triggered 
this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

BUILD FAILED: failed build --all

Sincerely,
 -The Buildbot





svn commit: r1717188 - /openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Mon Nov 30 05:50:16 2015
New Revision: 1717188

URL: http://svn.apache.org/viewvc?rev=1717188=rev
Log:
Fix mismatch in r1717119

Modified:
openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx

Modified: openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx?rev=1717188=1717187=1717188=diff
==
--- openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx (original)
+++ openoffice/trunk/main/vcl/source/fontsubset/ttcr.cxx Mon Nov 30 05:50:16 
2015
@@ -394,7 +394,7 @@ int StreamToFile(TrueTypeCreator *_this,
 FILE* fd;
 
 if ((r = StreamToMemory(_this, , )) != SF_OK) return r;
-if ((!fname) || (fd = fopen(fname, "wb")) == NULL)) {
+if ((!fname) || ((fd = fopen(fname, "wb")) == NULL)) {
 free(ptr);
 return SF_BADFILE;
 }




svn commit: r1717140 - /openoffice/trunk/main/idlc/source/fehelper.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Sun Nov 29 23:57:30 2015
New Revision: 1717140

URL: http://svn.apache.org/viewvc?rev=1717140=rev
Log:
Use after free

After deleting a structure we shouldn't try to reuse it:
return the vslue directly.

CID:440614



Modified:
openoffice/trunk/main/idlc/source/fehelper.cxx

Modified: openoffice/trunk/main/idlc/source/fehelper.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/idlc/source/fehelper.cxx?rev=1717140=1717139=1717140=diff
==
--- openoffice/trunk/main/idlc/source/fehelper.cxx (original)
+++ openoffice/trunk/main/idlc/source/fehelper.cxx Sun Nov 29 23:57:30 2015
@@ -85,7 +85,7 @@ AstType const * FeDeclarator::compose(As
if ( (AstDeclaration*)pArray != pDecl2 )
{
delete m_pComplexPart;
-   m_pComplexPart = pDecl2;
+   return (AstType*)pDecl2;
}
}
return pArray;




svn commit: r1717144 - /openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Mon Nov 30 00:13:18 2015
New Revision: 1717144

URL: http://svn.apache.org/viewvc?rev=1717144=rev
Log:
Use after free

CID:441015

Modified:
openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx

Modified: openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx?rev=1717144=1717143=1717144=diff
==
--- openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx (original)
+++ openoffice/trunk/main/sfx2/source/appl/sfxhelp.cxx Mon Nov 30 00:13:18 2015
@@ -846,7 +846,10 @@ SfxHelpWindow_Impl* impl_createHelp(Refe
 }
 
 if (!xHelpContent.is())
+{
 delete pHelpWindow;
+return NULL;
+}
 
 
xHelpContent->setName(::rtl::OUString(DEFINE_CONST_UNICODE("OFFICE_HELP")));
 




svn commit: r1717120 - /openoffice/trunk/main/sd/source/filter/sdpptwrp.cxx

2015-11-29 Thread pfg
Author: pfg
Date: Sun Nov 29 20:44:03 2015
New Revision: 1717120

URL: http://svn.apache.org/viewvc?rev=1717120=rev
Log:
Resource Leak

CID:736452

Modified:
openoffice/trunk/main/sd/source/filter/sdpptwrp.cxx

Modified: openoffice/trunk/main/sd/source/filter/sdpptwrp.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/filter/sdpptwrp.cxx?rev=1717120=1717119=1717120=diff
==
--- openoffice/trunk/main/sd/source/filter/sdpptwrp.cxx (original)
+++ openoffice/trunk/main/sd/source/filter/sdpptwrp.cxx Sun Nov 29 20:44:03 2015
@@ -118,6 +118,7 @@ sal_Bool SdPPTFilter::Import()
if ( !bRet )
mrMedium.SetError( 
SVSTREAM_WRONGVERSION, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( 
OSL_LOG_PREFIX ) ) );
}
+   delete pLibrary;
}
 
delete pDocStream;