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

--- Comment #31 from Stephan Bergmann <[email protected]> ---
(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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to