In FreeBSD 12.0, basename(3) was changed to be POSIX compliant. This implies that the function can possibly write to the passed string. Actually, basename always writes to the passed string under FreeBSD 12.0.
rssh passes a const string, so it always crashes on invocation. Attached is a patch that makes a copy of the string first and passes it instead. Could you please apply it? Thank you
basename_fix.patch
Description: Binary data
_______________________________________________ rssh-discuss mailing list rssh-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rssh-discuss