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

Assigned To
Authored By
t8m
Oct 24 2018, 4:57 PM
Tags
Subscribers

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.