mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-06 14:37:42 -07:00
slirp: remove unused EMU_RSH
EMU_RSH handling was dropped in commit
0d62c4cfe2.
The assignment, and subsequent free() of ex_ptr->ex_exec to so->extra
looks unsafe (double free is likely to occur).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
parent
3ed9f823c6
commit
2d6cc3d0e7
4 changed files with 0 additions and 8 deletions
|
|
@ -541,7 +541,6 @@ static const struct tos_t tcptos[] = {
|
|||
{0, 23, IPTOS_LOWDELAY, 0}, /* telnet */
|
||||
{0, 80, IPTOS_THROUGHPUT, 0}, /* WWW */
|
||||
{0, 513, IPTOS_LOWDELAY, EMU_RLOGIN|EMU_NOCONNECT}, /* rlogin */
|
||||
{0, 514, IPTOS_LOWDELAY, EMU_RSH|EMU_NOCONNECT}, /* shell */
|
||||
{0, 544, IPTOS_LOWDELAY, EMU_KSH}, /* kshell */
|
||||
{0, 543, IPTOS_LOWDELAY, 0}, /* klogin */
|
||||
{0, 6667, IPTOS_THROUGHPUT, EMU_IRC}, /* IRC */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue