Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Mon, Jun 20, 2011 at 5:31 AM, Caolán McNamara <caolanm@redhat.com> wrote:
On Mon, 2011-06-20 at 09:51 +0530, Marc-André Laverdière wrote:
Hello list.

Now, I think we should make it multi-platform, so that the whole code
base can benefit from it. The transition must be gradual, for sure, but
I think we'd benefit a lot from it in the long run.

I have to say, I'm kind of unenthusiastic about deprecating strlen and
memcpy.

Same here.

There are plenty of legitimate safe use of these functions, including
in performance critical sections.

Beside the so-called 'safe' memcpy, for example,  is only 'safe' if it
is being audited anyway against abuse ( memcpy(d,s,count) ->
memcpy_s(d, count, s, count))
so the _s create a false sens of security...

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.