shells/scponly: fix segfault on FreeBSD 12 and newer
On FreeBSD 12+ basename(3) writes to its argument, which in scponly isn't a
writable string, so it segfaults. This patch works around it.
PR: 235810
Submitted by: fullermd@over-yonder.net
shells/scponly: fix segfault on FreeBSD 12 and newer Tags None Referenced Files None Subscribers None
Description
Details
|