Description
The function is init_pool() in util/secmem.c, lines 234~245.
A file descriptor is opened to mmap() /dev/zero, but it's never closed. It would be OK to close() it since it wouldn't remove the mapping.
Fix
close(fd);
The function is init_pool() in util/secmem.c, lines 234~245.
A file descriptor is opened to mmap() /dev/zero, but it's never closed. It would be OK to close() it since it wouldn't remove the mapping.
close(fd);
Fixed. See below. Also in libgcrypt and pinentry.
2006-07-29 Marcus Brinkmann <marcus@g10code.de>