]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Make a copy of the user when handling ssh -l, so that
authordtucker@openbsd.org <dtucker@openbsd.org>
Sun, 2 Mar 2025 07:02:49 +0000 (07:02 +0000)
committerDamien Miller <djm@mindrot.org>
Sun, 2 Mar 2025 11:06:30 +0000 (22:06 +1100)
commit65d2c59628e68e166046efa69e76c1d395a8df6e
treea071e5af1d5cb8fab580ae45846253fd9abaf87d
parentbd30cf784d6e825ef71592fb723c41d4f2fd407b
upstream: Make a copy of the user when handling ssh -l, so that

later during User token expansion we don't end up freeing a member of argv.
Spotted by anton@'s regress tests.

OpenBSD-Commit-ID: 2f671a4f5726b66d123b88b1fdd1a90581339955
ssh.c