[Bug 1600671] Re: OsSysLogTask not assigning syslog server sockets correctly

2016-07-12 Thread Thomas Gutzler
While we're looking at OsSysLogTask::processAddSocket()...
This patch fixes the above problem and makes sure that we're not adding the 
same syslog server socket twice

** Patch added: "OsSysLogTask.patch"
   
https://bugs.launchpad.net/ubuntu/+source/sipxtapi/+bug/1600671/+attachment/4699217/+files/OsSysLogTask.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600671

Title:
  OsSysLogTask not assigning syslog server sockets correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sipxtapi/+bug/1600671/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1600671] [NEW] OsSysLogTask not assigning syslog server sockets correctly

2016-07-10 Thread Thomas Gutzler
Public bug reported:

OsSysLogTask::processAddSocket() is supposed to add a syslog server socket to 
the list of available sockets (mpSockets) if there is still one available. The 
loop which is inserting the newly created socket into mpSockets[] is not 
terminated when an available spot is found. This fills up the array the first 
time a syslog server is added leaving no room for more.
Worse, the syslog server will get multiple copies of the same log message 
blowing up the logfile unnecessarily.

Patch is attached.

** Affects: sipxtapi (Ubuntu)
 Importance: Undecided
 Status: New

** Patch added: "OsSysLogTask.patch"
   
https://bugs.launchpad.net/bugs/1600671/+attachment/4698587/+files/OsSysLogTask.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600671

Title:
  OsSysLogTask not assigning syslog server sockets correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sipxtapi/+bug/1600671/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs