]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: If write() returned short, the subsequent write would restart github-selfhosted/master github/master
authordtucker@openbsd.org <dtucker@openbsd.org>
Fri, 3 Oct 2025 01:03:45 +0000 (01:03 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 6 Oct 2025 01:18:53 +0000 (12:18 +1100)
commitb9a640a1a0dccfb56be684cc7ade402f57cf7ebd
treedcdd51629526b5f69d5ff2cfc0c37f1917ee8097
parenta0e5446ac85aca5a3ef9844eeedf787300fdb8b3
upstream: If write() returned short, the subsequent write would restart

from the beginning of the buffer not the end of what was written.  Fix, since
we want modpipe to corrupt data for testing purposes deliberately not
accidentally.  ok djm@

OpenBSD-Regress-ID: 50ca74d287445c58944f070bb92dc13b1d054b43
regress/modpipe.c