svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

Shawn Webb shawn.webb at hardenedbsd.org
Mon Aug 26 10:47:50 UTC 2019


On Sun, Aug 25, 2019 at 08:50:11PM -0700, Conrad Meyer wrote:
> On Sun, Aug 25, 2019 at 6:47 PM Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
> > I wonder if something like this could be done:
> 
> Something like it could be; I suggested so two hours ago.
> 
> > Somewhere in ping(8):
> > bool ping6_compat;
> > if (strcmp(argv[0], "ping6")) {
> >         ping6_compat = true;
> 
> You've gotten the sense of the basic C89 function strcmp() backwards.
> Maybe it's a security feature that way?  You can add HardenedStrcmp to
> your Easy Feature Comparison page.

I'll keep that in mind should FreeBSD implement it, enabling us to
adopt it. :)

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

Tor-ified Signal:    +1 443-546-8752
Tor+XMPP+OTR:        lattera at is.a.hacker.sx
GPG Key ID:          0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20190826/44a3205b/attachment.sig>


More information about the svn-src-all mailing list