bugThe eXtended osip library - Bugs: bug #14677, libeXosip2 event->request...

 
 

bug #14677: libeXosip2 event->request corruption on Incoming Call

Submitted by:  None
Submitted on:  Fri 30 Sep 2005 08:12:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Aymeric MOIZARD <aymeric>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 03 Oct 2005 08:08:07 PM UTC, comment #1:

I think this bug is already fixed in CVS :

http://savannah.gnu.org/cgi-bin/viewcvs/osip/osip/src/osipparser2/osip_body.c.diff?r1=1.10&r2=1.11

You can also try 2.2.1 which should include this fix already:
http://ftp.gnu.org/gnu/osip/libosip2-2.2.1.tar.gz

Aymeric

Aymeric MOIZARD <aymeric>
Project AdministratorIn charge of this item.
Fri 30 Sep 2005 08:12:15 PM UTC, original submission:

Using: libeXosip2-1.9.1-pre16, libosip2-2.2.0

If i try something like that, inside a getEvents() function:
(EXOSIP_CALL_INVITE)

if (event->request!=NULL) {
if (event->request->bodies!=NULL) {
if (!osip_list_eol (event->request->bodies, 0)) {
osip_body_t* t = (osip_body_t *)osip_list_get (event->request->bodies, 0);
if (t!=NULL && t->body!=NULL) {
_debug("t->body: {{{%s}}}", t->body);
}
}
}
}

I've got garbage caracters at the end of osip_body_t->body after many incoming calls.
Since osip use this to analyse and parse the receive request and response, did we need to call a function before or after to clean this buffer? Does the eXosip2 event parsing is not correct?

--
Yan Morin
-unavailable-
http://www.sflphone.org/

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 03 Oct 2005 08:08:07 PM UTCaymericStatusNone=>Fixed
  Assigned toNone=>aymeric
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1