On Sun, Aug 25, 2019 at 6:47 PM Shawn Webb <shawn.w...@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.

Conrad
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to