Date: Sun, 03 Feb 2019 05:35:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235121] shells/rssh: rssh crashes on invocation due to new basename(3) POSIX behaviour Message-ID: <bug-235121-7788-ZcZapHKthv@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-235121-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-235121-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235121 --- Comment #5 from jharris@widomaker.com --- topical, I think you'll want to add your same fix from util.c before all invocations of basename(3): %grep -n basename *.c log.c:96: ident =3D strdup(basename((char*)name)); rssh_chroot_helper.c:162: progname =3D strdup(log_make_ident(basename(argv[0]))); util.c:166: char *prog; /* basename of cmd */ util.c:189: prog =3D basename(cmd); So also in log.c and rssh_chroot_helper.c, right? Thanks! --=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-235121-7788-ZcZapHKthv>