Changeset 8ed211f in rtems-libbsd

Timestamp:
05/22/23 07:36:46 (11 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
388d46bb1b3080402c68ae11d14b2b36c3138952
Children:
5de608c
Parents:
01b04a0
git-author:
Christian Mauderer <christian.mauderer@…> (05/22/23 07:36:46)
git-committer:
Christian Mauderer <christian.mauderer@…> (05/31/23 06:23:12)
Message:

ipsec-tools: Fix copying fd_set prior to select

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.

Update #4913

(No files)

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