I don't disagree with you, but the other option is to change the api to use 
size_t instead of int all over the place, which I am told is not really an 
option as it would totally break ABI.  In this case, if the url_port is really 
over the length of max int then you will indeed have a problem, but I have a 
hard time imagining where anything in a sip header would be longer than max int 
long.  I am open to suggestions of better solutions and an official word if 
changing the api throughout sofia-sip would be a better solution or not.

Mike

> -----Original Message-----
> From: Nickolay V. Shmyrev [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 29, 2006 3:30 AM
> To: Michael Jerris
> Cc: [email protected]; Kai Vehmanen
> Subject: Re: [Sofia-sip-devel] MSVC detected 64 bit issues.
> 
> В Пнд, 28/08/2006 в 20:50 -0400, Michael Jerris пишет:
> > +  if (url->url_port) rv += (int)strlen(url->url_port) +
> > 1;             /* plus ':' */
> 
> Sorry, but this (int)strlen doesn't seems like a correct thing to me.
> Probably it indicates different problems somewhere outside.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to