Thread (1 message) 1 message, 1 author, 2026-03-07

Re: [PATCH 0/4] plugging some mmap() leaks

From: Junio C Hamano <hidden>
Date: 2026-03-07 01:15:26

Ramsay Jones [off-list ref] writes:
If you look at the (currently 31) calls to munmap(), only one seems to look
at the return (in refs/packed-backend.c:183). So, calling munmap() twice
on the same memory region will probably go unnoticed when NO_MMAP is not
set. I have no idea why munmap() was called twice on the same memory region,
since I didn't track down the code responsible.

It was just an FYI about a _potential_ lurking bug when using the mmap compat
routines.

Have I cleared that up, or confused you more. :)
Oh, absolutely.  Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help