[PATCH 0/3] leak fixes and buffer allocation optimization

Peter Krempa via Devel posted 3 patches 6 days, 23 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1774547384.git.pkrempa@redhat.com
src/qemu/qemu_driver.c     | 1 +
src/secret/secret_config.c | 1 +
src/util/virfile.c         | 1 +
3 files changed, 3 insertions(+)
[PATCH 0/3] leak fixes and buffer allocation optimization
Posted by Peter Krempa via Devel 6 days, 23 hours ago
Peter Krempa (3):
  qemu: driver: Don't leak 'qemu_driver->backupPorts'
  secret: config: Don't leak 'cfg->secretsEncryptionKey'
  util: file: Shrink buffer returned from 'saferead_lim' to actual size

 src/qemu/qemu_driver.c     | 1 +
 src/secret/secret_config.c | 1 +
 src/util/virfile.c         | 1 +
 3 files changed, 3 insertions(+)

-- 
2.53.0
Re: [PATCH 0/3] leak fixes and buffer allocation optimization
Posted by Pavel Hrdina via Devel 6 days, 23 hours ago
On Thu, Mar 26, 2026 at 06:50:20PM +0100, Peter Krempa via Devel wrote:
> Peter Krempa (3):
>   qemu: driver: Don't leak 'qemu_driver->backupPorts'
>   secret: config: Don't leak 'cfg->secretsEncryptionKey'
>   util: file: Shrink buffer returned from 'saferead_lim' to actual size

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>