patch-src_storage_storage_backend_c 424 B

1234567891011
  1. --- libvirt-0.7.4.orig/src/storage/storage_backend.c 2009-11-10 14:32:15.000000000 +0100
  2. +++ libvirt-0.7.4/src/storage/storage_backend.c 2009-11-23 22:51:40.000000000 +0100
  3. @@ -136,7 +136,7 @@ virStorageBackendCopyToFD(virConnectPtr
  4. goto cleanup;
  5. }
  6. - bzero(&zerobuf, sizeof(zerobuf));
  7. + memset(&zerobuf, 0, sizeof(zerobuf));
  8. if (VIR_ALLOC_N(buf, bytes) < 0) {
  9. virReportOOMError(conn);