patch-src_storage_backend_c 396 B

1234567891011
  1. --- libvirt-0.7.0.orig/src/storage_backend.c 2009-08-05 14:50:01.000000000 +0200
  2. +++ libvirt-0.7.0/src/storage_backend.c 2009-09-11 13:23:38.000000000 +0200
  3. @@ -128,7 +128,7 @@ virStorageBackendCopyToFD(virConnectPtr
  4. }
  5. }
  6. - bzero(&zerobuf, sizeof(zerobuf));
  7. + memset(&zerobuf, 0, sizeof(zerobuf));
  8. if (VIR_ALLOC_N(buf, bytes) < 0) {
  9. virReportOOMError(conn);