toolkit/source/awt/vclxtoolkit.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 41b9d58fb94234964d378e27e6a5a49db9023277
Author: Norbert Thiebaud <[email protected]>
Date:   Mon Feb 18 20:35:25 2013 -0600

    coverity#982817 Out-of-bounds access
    
    Not sure if it just is coverity's parser that get confused or if the
    compiler can also be confused in that case.. but it does not
    hurt to be explicit, just in case.
    
    Change-Id: Iba9df7122584272645e7fb241c3f5fd2ed4481d1
    Reviewed-on: https://gerrit.libreoffice.org/2250
    Reviewed-by: Norbert Thiebaud <[email protected]>
    Tested-by: Norbert Thiebaud <[email protected]>

diff --git a/toolkit/source/awt/vclxtoolkit.cxx 
b/toolkit/source/awt/vclxtoolkit.cxx
index 67bd7c5..fb167e5 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -907,7 +907,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** 
ppNewComp,
 
                                 rtl_getGlobalProcessId( (sal_uInt8*)processID 
);
 
-                                ::com::sun::star::uno::Sequence<sal_Int8> 
processIdSeq(processID, 16);
+                                ::com::sun::star::uno::Sequence<sal_Int8> 
processIdSeq((sal_Int8*)processID, 16);
 
                                 ::com::sun::star::uno::Any anyHandle = 
xSystemDepParent->getWindowHandle(processIdSeq, SYSTEM_DEPENDENT_TYPE);
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to