← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1681153] Re: Sending a lot of empty lines to main chat makes DC++ to hang

 

maybe I should have clarified in my previous message - I was hoping others would look into this now that a test case is there; rebuilds in a breeze with:
scons build/[...]/dwt/test

just pushed a few tweaks; interestingly, adding 2 chars or more per line
fixes the issue here... (but 1 is not enough...)

so a workaround for the moment may be to send "   \n" (3 spaces and \n)
instead of just "\n" X times if you really want to "clear" chats...

I also tried writing to a file instead of appending to the text box (it
worked) to confirm this is not related to our RTF conversion tools.

I hope this is enough info for one of our contributors to come up with a
proper fix. :)

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1681153

Title:
  Sending a lot of empty lines to main chat makes DC++ to hang

Status in DC++:
  Confirmed

Bug description:
  If i send 15000 empty lines into main chat from another client, DC++
  will hang (sometimes i need to do it twice). When i then restart DC++
  i can see a message '65766: Buffer overflow' from the chat history. So
  if the hubsoft have no line limit you can hang a lot of DC++ clients
  in the hub.

  I'm running DC++ 0.865.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1681153/+subscriptions


References