diff options
| author | Md Haris Iqbal <haris.iqbal@ionos.com> | 2025-12-05 13:47:33 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-06 05:28:10 -0700 |
| commit | 69d26698e4fd44935510553809007151b2fe4db5 (patch) | |
| tree | fe05484be7e64830d392d2ddef6f475d95a0bc12 /include | |
| parent | 4ac9690d4b9456ca1d5276d86547fa2e7cd47684 (diff) | |
rnbd-srv: Zero the rsp buffer before using it
Before using the data buffer to send back the response message, zero it
completely. This prevents any stray bytes to be picked up by the client
side when there the message is exchanged between different protocol
versions.
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Grzegorz Prajsner <grzegorz.prajsner@ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
