Opened on 03/26/21 at 12:51:30
Closed on 05/11/21 at 06:47:04
#4361 closed defect (fixed)
libbsd: racoon and ping6 don't honor file descriptor maximum
Reported by: | Christian Mauderer | Owned by: | Christian Mauderer |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | network/libbsd | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Cloned from #4360:
racoon and ping6 use fd_sets. If RTEMS is build with a big number of file descriptors, the default fd_set size is too small and memory near the fd_set can be overwritten. Other applications in libbsd use allocated fd_sets to avoid that problem.
Change History (2)
comment:1 Changed on 05/11/21 at 06:46:53 by Christian Mauderer
comment:2 Changed on 05/11/21 at 06:47:04 by Christian Mauderer
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Fixed with
https://git.rtems.org/rtems-libbsd/commit/?h=5-freebsd-12&id=c385e86b3fbbbf6ce52b546980ce8d5c5bbfcf06
https://git.rtems.org/rtems-libbsd/commit/?h=5-freebsd-12&id=35bdef1fa0c03d26d5a9f767b5857d88adef7ae1