Why does the POP service drop the connection on receipt of a long input line?

  1. Home
  2. Knowledge Base
  3. GMS
  4. Why does the POP service drop the connection on receipt of a long input line?

Question

If I send a line of over 2K in size to the POP server as part of say the LIST command the POP service simply drops the connection.

Answer

This is due to the length of line being sent being longer than the size of the buffer that holds POP commands. The POP server sees that the line exceeds the permitted buffer size and simply drops the connection.

There is nothing wrong with this, however certain testing tools were falsely reporting this as a potential buffer overflow, so we now return an error message no matter how long the line passed as a paramter to the command.

Resolved in 3032 and later builds.

Keywords:POP, Long, Line, Long line, Drop, Connection

Was this article helpful?

Related Articles