If TCPPortsLow and TCPPortsHigh in licq.conf are set to privileged ports
(eg. 110 and 120 respectively) and running as a non-privileged user,
there will be a segmentation fault at startup. This is because
CICQDaemon::StartTCPServer tries to bind to one port at a time, failing
each time (Permission denied). Unfortunately, the INetSocket::StartServer
sets its m_nDescriptor, so the test (s->Descriptor() != -1) later in
CICQDaemon::StartTCPServer is not sufficient.

It has further implications too (leading to a great big segfault). What
to do about it (if anything at all) is left for somebody more into
(l)icq to figure out :)

/Mikael


_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to