Changeset a2bc8eb in rtems-libbsd

Timestamp:
05/10/21 06:50:52 (3 years ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
5-freebsd-12
Children:
9edb120
Parents:
35bdef1
git-author:
Christian Mauderer <christian.mauderer@…> (05/10/21 06:50:52)
git-committer:
Christian Mauderer <christian.mauderer@…> (05/11/21 06:41:50)
Message:

ipsec-tools/pfkey: Fix socket leak

setkey uses pfkey_open to open a socket. But setkey doesn't close the
socket.

The libipsec functions are used only by user space applications (setkey
and racoon). Adding the wrapper for socket makes sure that the opened
socket is registered and closes if the application exits.

Fixes #4404

(No files)

Note: See TracChangeset for help on using the changeset viewer.