Menu

#1 ircresponder.cpp causes infinite loop

closed-accepted
None
7
2003-08-16
2002-12-09
muzaffar
No

IrcResponder.cpp contains code for handling IRC
messages. When the nick of j-alice is typed in the
middle or at the end of the message, the code tries to
eliminate the nickname from it and pass to the AIML
processor by finding the nickname, dividing the string
into m_head and m_tail. While it should concatenate
m_head and m_tail it also adds botname in the middle
thus causing an infinte loop.
Apply this patch and recompile in order to fix it.

Discussion

  • muzaffar

    muzaffar - 2002-12-09
    • priority: 5 --> 7
    • assigned_to: nobody --> s-a-t-a-n
    • summary: ircresponder.cpp cause infinite loop --> ircresponder.cpp causes infinite loop
     
  • Taras

    Taras - 2003-08-16
    • status: open --> closed-accepted
     

Log in to post a comment.