CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2025/04/29 23:26:15
Modified files: usr.bin/ssh : hostfile.c Log message: make writing known_hosts lines more atomic, by writing the entire line in one operation and using unbuffered stdio. Usually writes to this file are serialised on the "Are you sure you want to continue connecting?" prompt, but if host key checking is disabled and connections were being made with high concurrency then interleaved writes might have been possible. feedback/ok deraadt@ millert@