aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/openbsd-compat/bsd-flock.c
diff options
context:
space:
mode:
authorHayzam Sherif <hayzam@gmail.com>2026-02-19 19:24:02 +0000
committerMark Johnston <markj@FreeBSD.org>2026-02-19 19:24:07 +0000
commit818971cc403e78d42b77eb6c18a2d2a073e5541f (patch)
treebb1b7cd76839540a7b42f8a28701001fd9b25399 /crypto/openssh/openbsd-compat/bsd-flock.c
parentc8191c3d613928d8bd6060aa2f7da349b4090cc1 (diff)
bhyve: Fix unchecked stream I/O in RFB handlerHEADmain
Convert rfb_send_* helpers to return status codes and check their results. Add missing checks for stream_read() and stream_write() returns during the handshake in rfb_handle() to avoid acting on failed I/O. Signed-off-by: Hayzam Sherif <hayzam@gmail.com> Reviewed by: markj MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55343
Diffstat (limited to 'crypto/openssh/openbsd-compat/bsd-flock.c')
0 files changed, 0 insertions, 0 deletions