Package: rlinetd / 0.8.2-2
Metadata
Package | Version | Patches format |
---|---|---|
rlinetd | 0.8.2-2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
1 Fix fd_set overflow.patch | (download) |
src/engine.c |
10 4 + 6 - 0 ! |
1 fix fd_set overflow Fix fd_set buffer overflows (LP: #1057645) Make sure that FD_ISSET, FD_SET, FD_CLR macros are called with proper arguments not to overflow the fd_set buffers. Especially use FD_SETSIZE instead of getdtablesize() as the upper bound of loops that iterate over fd_sets and fix stop conditions of such loops in engine.c. According to select(2) man page, an fd_set is a fixed-size buffer, and the above macros require the passed file descriptor argument to be lower than FD_SETSIZE. glibc started checking the above condition in its version 1.15 if _FORTIFY_SOURCE is defined, causing rlinetd to crash (see the call stacks in LP#1057645). |
2 Add udp4 to inted2rlinetd.patch | (download) |
scripts/inetd2rlinetd.in |
9 8 + 1 - 0 ! |
2 add udp4 to inted2rlinetd inetd2rlinetd: Add support for udp4 and similar protocols (LP: #1057663) Apply patch from Ubuntu LP#1057663 to handle protocols ending with IP version, like udp4 or tcp6, from /etc/inetd.conf. |
1