diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-05-22 09:36:46 +0200 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-05-31 08:25:23 +0200 |
commit | 484186e8bc5571a0f38d56c061c9fb0946635008 (patch) | |
tree | 3f25f8b037ec8f9f14cf2bdf847b092b3d40e872 /freebsd/sbin/pfctl/rtems-bsd-pfctl-pfctl_altq-data.h | |
parent | if_atsam: Recover from receive freezes (diff) | |
download | rtems-libbsd-484186e8bc5571a0f38d56c061c9fb0946635008.tar.bz2 |
ipsec-tools: Fix copying fd_set prior to select5-freebsd-12
The racoon session code copies an fd_set from one variable into another
prior to calling select. That works well for simple structures.
In libbsd we have to allocate fd_sets instead of using fixed structures
to avoid a problem with file numbers bigger than FD_SETSIZE. The simple
assignment didn't work in that case.
This patch makes sure that a memcpy is used instead.
Close #4914
Diffstat (limited to 'freebsd/sbin/pfctl/rtems-bsd-pfctl-pfctl_altq-data.h')
0 files changed, 0 insertions, 0 deletions