[RTEMS Project] #4914: libbsd/ipsec-tools: Problems with more than 64 open files (cloned)
    RTEMS trac 
    trac at rtems.org
       
    Wed May 31 06:06:15 UTC 2023
    
    
  
#4914: libbsd/ipsec-tools: Problems with more than 64 open files (cloned)
-------------------------+-------------------------------------------------
 Reporter:  Christian    |       Owner:  Christian Mauderer
  Mauderer               |  <christian.mauderer@…>
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:  5.4
Component:               |     Version:  5
  network/libbsd         |
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+-------------------------------------------------
Changes (by Christian Mauderer <christian.mauderer@…>):
 * owner:  (none) => Christian Mauderer <christian.mauderer@…>
 * status:  new => closed
 * resolution:   => fixed
Comment:
 In [changeset:"484186e8bc5571a0f38d56c061c9fb0946635008/rtems-libbsd"
 484186e/rtems-libbsd]:
 {{{
 #!CommitTicketReference repository="rtems-libbsd"
 revision="484186e8bc5571a0f38d56c061c9fb0946635008"
 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.
 Close #4914
 }}}
--
Ticket URL: <http://devel.rtems.org/ticket/4914#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
    
    
More information about the bugs
mailing list