<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - tolower / toupper - dangerous to Turks ..."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=99589#c31">Comment # 31</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - tolower / toupper - dangerous to Turks ..."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=99589">bug 99589</a>
from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
<pre>(In reply to Stephan Bergmann from <a href="show_bug.cgi?id=99589#c20">comment #20</a>)
<span class="quote">> 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.</span >
meanwhile done as
<<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=7778d9f51bd1f4d086cafe95995406c3157afb89">https://cgit.freedesktop.org/libreoffice/core/commit/?id=7778d9f51bd1f4d086cafe95995406c3157afb89</a>>
"Prevent calls to rtl/character.hxx functions with (signed) char arguments"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>