repack: prevent geometry struct leak
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | repack: free geometry structbuiltin/ | +3 | 0 replies | |
| 2/2 | repack: move `pack_geometry` struct to the stackbuiltin/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] repack: prevent geometry struct leak
This short series combines a patch from Peff and a patch from me to prevent leaking the 'struct pack_geometry *' pointer from the repack code.
The first patch free()s the heap-allocated struct, and the second patch moves the variable to be allocated on the stack.
Jeff King (1):
repack: free geometry struct
Taylor Blau (1):
repack: move pack_geometry struct to the stack
builtin/repack.c | 66 +++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 34 deletions(-)
Signature · 1 line
2.42.0.rc0.27.g2e2a760381