On Mon, Jun 22, 2020 at 02:54:02PM +0200, Stefan Reiter wrote: > Zero out clusters after the end of the device, this makes restore handle > it correctly (even if it may try to write those zeros, it won't fail and > just ignore the out-of-bounds write to disk). > > For not even 4k-aligned disks, there is a potential buffer overrun in > the memcpy (since always 4k are copied), which causes host-memory > leakage into VMA archives. Fix this by always zeroing the affected area > in the output-buffer. > > Reported-by: Roland Kammerer <roland.kamme...@linbit.com> > Suggested-by: Lars Ellenberg <lars.ellenb...@linbit.com> > Signed-off-by: Stefan Reiter <s.rei...@proxmox.com>
Hi Stefan, as expected, on a DRBD device this did not complain on "verify" and the restored data looks good, so: Tested-by: Roland Kammerer <roland.kamme...@linbit.com> Thanks, rck _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel