mirror of
https://github.com/aaru-dps/aaruremote.git
synced 2026-11-12 15:02:15 +00:00
When SG_IO cannot use direct I/O, the kernel copies back its whole bounce buffer even when the command transferred less or failed, sending the client stale kernel memory. Clear the bytes it reports as not transferred.