Date: Sun, 17 Feb 2019 18:15:29 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235810] [patch] shells/scponly: segfault in basename(3) Message-ID: <bug-235810-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235810 Bug ID: 235810 Summary: [patch] shells/scponly: segfault in basename(3) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: garga@FreeBSD.org Reporter: fullermd@over-yonder.net Flags: maintainer-feedback?(garga@FreeBSD.org) Assignee: garga@FreeBSD.org Created attachment 202098 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202098&action= =3Dedit Patch - use writable temp buffers for basename(3) calls In stable/12, basename(3) writes to its argument, which in scponly isn't a writable string, so it segfaults. Attached patch works around it. x-ref bug 235121 for similar behavior in rssh. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235810-7788>