develooper Front page | perl.perl5.porters | Postings from October 2015

Re: warning (sermon?) about strcat() from openbsd linker

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
October 17, 2015 19:34
Subject:
Re: warning (sermon?) about strcat() from openbsd linker
Message ID:
CA+vYcVyFFyGM6XwEc1_DPM8EwxetOBks24TcJjXt-=k9aGFxOA@mail.gmail.com
On Sat, Oct 17, 2015 at 2:14 PM, Zefram <zefram@fysh.org> wrote:
> unless we want to do a thorough audit to get the OpenBSD
> stamp of approval, these warnings are pretty irrelevant to us.

I think that audit has already been done for the top-level C files.
Undoubtedly there are some hold-outs in extensions and
platform-speciific files, but the reason we have my_strlcpy and
my_strlcat is so we can use those consistently even on platforms that
don't provide them.  I'd prefer to see the home-grown versions
implemented without the use of strlen, which defeats at least some of
the purpose of using them, but so far no one has wanted to tackle
that.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About