Page MenuHome GnuPG

kbx/keybox-dump.c: close file handle when return
Closed, ResolvedPublic


Hi,I found that in function _keybox_dump_find_dups, it returns directly without closing, and there may be a handle leak. Please check whether it should close and then return.

Event Timeline

zhangguangzhi created this task.
zhangguangzhi created this object in space S1 Public.
gniibe claimed this task.
gniibe added a project: gnupg.
gniibe added a subscriber: gniibe.

Thank you.
Applied to master, 2.4 branch and 2.2 branch.

Next time, please have a look at gnupg/doc/HACKING and add an entry for the commit log.