]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Fix two separate one-byte out-of-cound reads
authordjm@openbsd.org <djm@openbsd.org>
Sun, 31 May 2026 04:51:45 +0000 (04:51 +0000)
committerDamien Miller <djm@mindrot.org>
Sun, 31 May 2026 05:03:57 +0000 (15:03 +1000)
commit073faa6beceea162eeeb7963c7352a6c851e507a
tree7fe7efbeafb2af0e8514a381900f699c658189f7
parent8dfe7ed6e2fd988de08df508355a196b956b2753
upstream: Fix two separate one-byte out-of-cound reads

1) if a server sent an empty reply to a SSH2_FXP_REALPATH request
2) if a batch command used the full 2048 byte buffer but ended in a
  literal backslash character

Both reported by Zhenpeng (Leo) Lin from depthfirst

ok markus@

OpenBSD-Commit-ID: d1ccc1f5a6eb109065ce8a552fea8e502381ce59
sftp.c