[Libreoffice-bugs] [Bug 99589] tolower / toupper - dangerous to Turks ...

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 18 07:47:12 UTC 2017


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

--- Comment #31 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Stephan Bergmann from comment #20)
> One idea that comes to mind is to extend include/rtl/character.hxx:  For
> every declaration of a function taking such a 'sal_uInt32' parameter, add
> deleted definitions (using SAL_DELETED_FUNCTION, as character.hxx is URE
> API) of overloads taking 'char' and 'unsigned char' parameters.  That will
> prevent dangerous uses of those functions from even compiling.

meanwhile done as
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=7778d9f51bd1f4d086cafe95995406c3157afb89>
"Prevent calls to rtl/character.hxx functions with (signed) char arguments"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170518/96faeeaf/attachment-0001.html>


More information about the Libreoffice-bugs mailing list