[reSIProcate] [reSIProcate-commit] resiprocate 8751 sgodin: -added try/catch blocks around origin sessionid and version parsing - to insulate resip

Justin Matthews jmatthewsr at gmail.com
Mon Jan 3 13:33:54 CST 2011


Hey Scott,

 

I ran into this issue where an o's sess-id causes an overflow, but couldn't
find in RFC 4566 where it states the max value is limited.  The syntax for
sess-id is 1*DIGIT.  The only other note is that the value is *suggested* to
be an NTP timestamp.  I just wanted to clarify if the resip implementation
is following best practice or a hard rule somewhere.  This is the first I've
come across it so I'm inclined to leave resip as is and push back on the
vendor.

 

Thanks.

 

-justin

 

From: resiprocate-commit-bounces at resiprocate.org
[mailto:resiprocate-commit-bounces at resiprocate.org] On Behalf Of
svn at resiprocate.org
Sent: Saturday, February 20, 2010 1:18 PM
To: resiprocate-commit at list.resiprocate.org
Subject: [reSIProcate-commit] resiprocate 8751 sgodin: -added try/catch
blocks around origin sessionid and version parsing - to insulate resip

 


Project

resiprocate


New Revision

8751 <http://svn.resiprocate.org/viewsvn/resiprocate?view=rev&rev=8751> 


Committer

sgodin (Scott Godin)


Date

2010-02-20 12:17:31 -0600 (Sat, 20 Feb 2010)


Log

 
 
 -added try/catch blocks around origin sessionid and version parsing - to
insulate resip
  from implementations that do not correctly populate these (ie. sessionid
or version > Uint64)
 -fix to recon for participant replacement
 
 

Modified:


*	main/resip/recon/RemoteParticipant.cxx
<http://svn.resiprocate.org/viewsvn/resiprocate/main/resip/recon/RemoteParti
cipant.cxx?r1=8750&r2=8751&diff_format=l> 
*	main/resip/recon/RemoteParticipant.hxx
<http://svn.resiprocate.org/viewsvn/resiprocate/main/resip/recon/RemoteParti
cipant.hxx?r1=8750&r2=8751&diff_format=l> 
*	main/resip/recon/RemoteParticipantDialogSet.hxx
<http://svn.resiprocate.org/viewsvn/resiprocate/main/resip/recon/RemoteParti
cipantDialogSet.hxx?r1=8750&r2=8751&diff_format=l> 
*	main/resip/stack/SdpContents.cxx
<http://svn.resiprocate.org/viewsvn/resiprocate/main/resip/stack/SdpContents
.cxx?r1=8750&r2=8751&diff_format=l> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20110103/e617ea00/attachment.htm>


More information about the resiprocate-devel mailing list