public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH v2 proxmox 0/6] uninitialized memory allocations fixes
@ 2026-08-12  8:23 Robert Obkircher
  2026-08-12  8:23 ` [PATCH v2 proxmox 1/6] uuid: avoid potential null dereference and memory leaks Robert Obkircher
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Robert Obkircher @ 2026-08-12  8:23 UTC (permalink / raw)
  To: pbs-devel

Fix multiple issues around uninitialized allocations and remove unused
buggy code.

All changes are in the proxmox repo. I chose the pbs mailing list 
because proxmox-io is mainly used there.

Changes since [v1]:
* marked example in doc comment as no_run


[v1] https://lore.proxmox.com/pbs-devel/20260811150237.527116-1-r.obkircher@proxmox.com/

Robert Obkircher (6):
  uuid: avoid potential null dereference and memory leaks
  io: request zeroed memory instead of manually clearing it
  io: avoid potential null dereference and memory leak on error path
  io: remove boxed::uninitialized because it is unsound
  io: remove unused append_to_vec functions
  io: remove unused ByteVecExt trait with grow_ and resize_uninitialized

 proxmox-io/src/boxed.rs        |  19 +-----
 proxmox-io/src/read.rs         |  44 ++-----------
 proxmox-io/src/vec/byte_vec.rs | 115 ---------------------------------
 proxmox-io/src/vec/mod.rs      |  37 ++++++-----
 proxmox-uuid/src/lib.rs        |  14 ++--
 5 files changed, 34 insertions(+), 195 deletions(-)
 delete mode 100644 proxmox-io/src/vec/byte_vec.rs

-- 
2.47.3





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-08-12  8:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12  8:23 [PATCH v2 proxmox 0/6] uninitialized memory allocations fixes Robert Obkircher
2026-08-12  8:23 ` [PATCH v2 proxmox 1/6] uuid: avoid potential null dereference and memory leaks Robert Obkircher
2026-08-12  8:23 ` [PATCH v2 proxmox 2/6] io: request zeroed memory instead of manually clearing it Robert Obkircher
2026-08-12  8:23 ` [PATCH v2 proxmox 3/6] io: avoid potential null dereference and memory leak on error path Robert Obkircher
2026-08-12  8:23 ` [PATCH v2 proxmox 4/6] io: remove boxed::uninitialized because it is unsound Robert Obkircher
2026-08-12  8:23 ` [PATCH v2 proxmox 5/6] io: remove unused append_to_vec functions Robert Obkircher
2026-08-12  8:23 ` [PATCH v2 proxmox 6/6] io: remove unused ByteVecExt trait with grow_ and resize_uninitialized Robert Obkircher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal