[PATCH] Fixed out of bounds memory access

Caolán McNamara caolanm at redhat.com
Wed Jun 20 13:22:55 PDT 2012


On Wed, 2012-06-20 at 14:48 +0200, Stephan Bergmann wrote:
> rtl_str_getLength

I wonder if there would be any actual measurable performance benefit to
sticking in some hackery to keep the rtl_str_getLength symbol for
backwards compatibility but alias/define rtl_str_getLength to strlen in
order to get any benefit of those optimized strlens. Or do they only
kick in if the compiler can determine locally that the argument comes
from malloc ? dunno.

C.



More information about the LibreOffice mailing list