[exim-dev] [Bug 2957] DoS In Proxy Protocol v2 handling

Página Inicial
Delete this message
Reply to this message
Autor: admin
Data:  
Para: exim-dev
Assunto: [exim-dev] [Bug 2957] DoS In Proxy Protocol v2 handling
https://bugs.exim.org/show_bug.cgi?id=2957

--- Comment #4 from Kevin Massey <kevin.massey1189@???> ---
After some additional testing, it seems that referencing the
had_command_timeout variable in the outer loop will fix this issue.

----------------------------------------------------------------------------------
do
    {
    do
      {
      retmore = read(fd, (uschar*)&hdr + ret, size-ret);
      } while (retmore == -1 && errno == EINTR && !had_command_timeout);
    if (retmore == -1)
      goto proxyfail;
    ret += retmore;
    DEBUG(D_receive) debug_printf("PROXYv2: have %d/%d required octets\n", ret,
size);
    } while ((ret < size) && !had_command_timeout);


}

----------------------------------------------------------------------------------

--
You are receiving this mail because:
You are on the CC list for the bug.