libvirt/src/storage_file
Peter Krempa a43c8763bf virStorageSourceGetMetadata: Use depth limit instead of unique path checking
Prevent unbounded chains by limiting the recursion depth of
virStorageSourceGetMetadataRecurse to the maximum number of image layers
we limit anyways.

This removes the last use of virStorageSourceGetUniqueIdentifier which
will allow us to delete some crusty old infrastructure which isn't
really needed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-04-12 15:55:09 +02:00
..
meson.build storage_source: Move backing store parsers into new file 2021-01-27 07:49:57 +01:00
storage_file_backend_fs.c util: move virStorageFileBackend code into storage_file 2021-01-22 11:10:27 +01:00
storage_file_backend_fs.h storage: move storage file sources to separate directory 2021-01-22 11:10:27 +01:00
storage_file_backend_gluster.c Do not check return value of VIR_EXPAND_N 2021-03-22 12:44:18 +01:00
storage_file_backend_gluster.h
storage_file_backend.c util: move virStorageFileBackend code into storage_file 2021-01-22 11:10:27 +01:00
storage_file_backend.h util: move virStorageSource code into conf 2021-01-22 11:10:27 +01:00
storage_file_probe.c util: move virStorageSource code into conf 2021-01-22 11:10:27 +01:00
storage_file_probe.h util: move virStorageSource code into conf 2021-01-22 11:10:27 +01:00
storage_source_backingstore.c Do not check return value of VIR_EXPAND_N 2021-03-22 12:44:18 +01:00
storage_source_backingstore.h storage_source: Move backing store parsers into new file 2021-01-27 07:49:57 +01:00
storage_source.c virStorageSourceGetMetadata: Use depth limit instead of unique path checking 2021-04-12 15:55:09 +02:00
storage_source.h virStorageSourceGetMetadata: Use depth limit instead of unique path checking 2021-04-12 15:55:09 +02:00