OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Damien Miller (djmcvs.openbsd.org)
Date: Sat Apr 15 2006 - 19:54:10 CDT


CVSROOT: /cvs
Module name: src
Changes by: djmcvs.openbsd.org 2006/04/15 18:54:10

Modified files:
        usr.bin/ssh : sftp-client.c

Log message:
avoid making a tiny 4-byte write to send the packet length of sftp
commands, which would result in a separate tiny packet on the wire by
using atomiciov(writev, ...) to write the length and the command in one
pass; ok deraadt