[PATCH 0/9] block/vpc: Clean up some buffer abuse

Markus Armbruster posted 9 patches 3 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201217162003.1102738-1-armbru@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>
block/vpc.c | 146 ++++++++++++++++++++++++++--------------------------
1 file changed, 72 insertions(+), 74 deletions(-)
[PATCH 0/9] block/vpc: Clean up some buffer abuse
Posted by Markus Armbruster 3 years, 4 months ago
Markus Armbruster (9):
  block/vpc: Make vpc_open() read the full dynamic header
  block/vpc: Don't abuse the footer buffer as BAT sector buffer
  block/vpc: Don't abuse the footer buffer for dynamic header
  block/vpc: Make vpc_checksum() take void *
  block/vpc: Pad VHDDynDiskHeader, replace uint8_t[] buffers
  block/vpc: Use sizeof() instead of 1024 for dynamic header size
  block/vpc: Pad VHDFooter, replace uint8_t[] buffers
  block/vpc: Pass footer buffers as VHDFooter * instead of uint8_t *
  block/vpc: Use sizeof() instead of HEADER_SIZE for footer size

 block/vpc.c | 146 ++++++++++++++++++++++++++--------------------------
 1 file changed, 72 insertions(+), 74 deletions(-)

-- 
2.26.2


Re: [PATCH 0/9] block/vpc: Clean up some buffer abuse
Posted by Kevin Wolf 3 years, 4 months ago
Am 17.12.2020 um 17:19 hat Markus Armbruster geschrieben:
> Markus Armbruster (9):
>   block/vpc: Make vpc_open() read the full dynamic header
>   block/vpc: Don't abuse the footer buffer as BAT sector buffer
>   block/vpc: Don't abuse the footer buffer for dynamic header
>   block/vpc: Make vpc_checksum() take void *
>   block/vpc: Pad VHDDynDiskHeader, replace uint8_t[] buffers
>   block/vpc: Use sizeof() instead of 1024 for dynamic header size
>   block/vpc: Pad VHDFooter, replace uint8_t[] buffers
>   block/vpc: Pass footer buffers as VHDFooter * instead of uint8_t *
>   block/vpc: Use sizeof() instead of HEADER_SIZE for footer size

Thanks, applied to the block branch.

Kevin