summaryrefslogtreecommitdiffstats
path: root/src/kernel/dnbd3_main.c
diff options
context:
space:
mode:
authorSimon Rettberg2025-04-15 16:46:04 +0200
committerSimon Rettberg2025-04-15 17:31:20 +0200
commita853b643bdfdd15d4bcf1e188ba7fb56362520a2 (patch)
tree12270d3f9583e476782bed6863c156362114d33e /src/kernel/dnbd3_main.c
parentREADME: Add curl-devel for CentOS-based requirements (diff)
downloaddnbd3-a853b643bdfdd15d4bcf1e188ba7fb56362520a2.tar.gz
dnbd3-a853b643bdfdd15d4bcf1e188ba7fb56362520a2.tar.xz
dnbd3-a853b643bdfdd15d4bcf1e188ba7fb56362520a2.zip
[KERNEL] Check if reply size matches request
Output according messages and abort connection if the reply didn't contain exactly as many bytes as requested, instead of going on and running into desync with the reply stream from the server, which would just give us confusing messages about header magic mismatch.
Diffstat (limited to 'src/kernel/dnbd3_main.c')
0 files changed, 0 insertions, 0 deletions