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

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

Thread Previous | Thread Next
Craig A. Berry
October 17, 2015 19:34
Re: warning (sermon?) about strcat() from openbsd linker
Message ID:
On Sat, Oct 17, 2015 at 2:14 PM, Zefram <> 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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About