https://bugs.documentfoundation.org/show_bug.cgi?id=92269

Christian Lohmaier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |g, [email protected]

--- Comment #22 from Christian Lohmaier <[email protected]> ---
problem is here:
http://cgit.freedesktop.org/libreoffice/core/tree/shell/source/win32/shlxthandler/infotips/infotips.cxx?h=libreoffice-5.0.0.2#n292

the wscpy_s triggeres invalid parameter error and that terminates the process.

it was changed from simple, non-caring function

-        msg.copy(pMem,msg.length());
+        wcscpy_s(pMem, msg.length(), msg.c_str());

in 19bfe765a50a81f67325c4fd35314ca8a2e4ca0a


so the function does what it is supposed to do and chokes on invalid input
(overruns) - so question is where does invalid input come from/is it OK to just
revert. Need to read about the functions in more detail...

-- 
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

Reply via email to