[PATCH 0/2] storage_file: Refuse qcow2 images with empty string as 'data_file'

Peter Krempa posted 2 patches 1 week, 4 days ago
src/storage_file/storage_source.c              |  10 ++++++++++
tests/virstoragetest.c                         |   5 +++++
.../images/datafile-emptystr.qcow2             | Bin 0 -> 327680 bytes
3 files changed, 15 insertions(+)
create mode 100644 tests/virstoragetestdata/images/datafile-emptystr.qcow2
[PATCH 0/2] storage_file: Refuse qcow2 images with empty string as 'data_file'
Posted by Peter Krempa 1 week, 4 days ago
See patch 1/2 for justification. Patch 2 is a test case.


Peter Krempa (2):
  storage_file: Refuse qcow2 images with empty string as 'data_file'
  virstoragetest: Add case for qcow2 image with empty string as
    'data_file'

 src/storage_file/storage_source.c              |  10 ++++++++++
 tests/virstoragetest.c                         |   5 +++++
 .../images/datafile-emptystr.qcow2             | Bin 0 -> 327680 bytes
 3 files changed, 15 insertions(+)
 create mode 100644 tests/virstoragetestdata/images/datafile-emptystr.qcow2

-- 
2.47.1
Re: [PATCH 0/2] storage_file: Refuse qcow2 images with empty string as 'data_file'
Posted by Michal Prívozník 1 week ago
On 1/9/25 15:28, Peter Krempa wrote:
> See patch 1/2 for justification. Patch 2 is a test case.
> 
> 
> Peter Krempa (2):
>   storage_file: Refuse qcow2 images with empty string as 'data_file'
>   virstoragetest: Add case for qcow2 image with empty string as
>     'data_file'
> 
>  src/storage_file/storage_source.c              |  10 ++++++++++
>  tests/virstoragetest.c                         |   5 +++++
>  .../images/datafile-emptystr.qcow2             | Bin 0 -> 327680 bytes
>  3 files changed, 15 insertions(+)
>  create mode 100644 tests/virstoragetestdata/images/datafile-emptystr.qcow2
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal