https://bugs.freedesktop.org/show_bug.cgi?id=64235
--- Comment #10 from Julien Nabet <[email protected]> --- In dtrans/source/win32/misc/ImplHelper.cxx (see http://opengrok.libreoffice.org/xref/core/dtrans/source/win32/misc/ImplHelper.cxx#257) Could this block gives problem: 257 if ( NULL != ptdSrc ) 258 { 259 ptdDest = static_cast< DVTARGETDEVICE* >( CoTaskMemAlloc( ptdSrc->tdSize ) ); 260 memcpy( ptdDest, ptdSrc, static_cast< size_t >( ptdSrc->tdSize ) ); 261 } 262 } Shouldn't the result of CoTaskMemAlloc be tested before trying to cast it? (see http://msdn.microsoft.com/en-us/library/windows/desktop/ms692727%28v=vs.85%29.aspx) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
