Page MenuHome GnuPG

Leak of FILE memory in gpg-connect-agent.c:do_open
Closed, ResolvedPublic

Description

In do_open a FILE object is created by fopen() call, then the fileno() is pulled out and saved for later use and the FILE is leaked. There should be dup() called on the fd and the FILE should be properly fclosed to avoid this leak.