[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-users
Subject:    Re: [SR-Users] ser-0.9.6 bug report
From:       Daniel-Constantin Mierla <miconda () gmail ! com>
Date:       2014-01-28 6:40:36
Message-ID: 52E750E4.8070801 () gmail ! com
[Download RAW message or body]

Hello,

ser-0.9.6 is very old release, not longer maintained. At this moment ser 
has been absorbed in Kamailio project. You can still compile it as ser 
if you wish via FLAVOUR option to make command.

Maybe it is better to run the tool against the master branch in GIT 
repository of Kamailio to see if it reports potential issues. Here is a 
link showing how to get the sources from git:

- http://www.kamailio.org/wiki/install/devel/git#getting_sources_from_git

Cheers,
Daniel

On 27/01/14 13:16, David Binderman wrote:
> Hello there,
> 
> I just ran the static analyser "cppcheck" over the source code
> of ser-0.9.6
> 
> It said many things, including
> 
> 1.
> 
> [parser/parse_uri.c:566] -> [parser/parse_uri.c:568]: (warning) Variable 'state' is \
> reassigned a value before the old one has been used. 'break;' missing? 
> Source code is
> 
> case 'r':
> case 'R':
> b=p;
> state=PR2_R;
> default:
> state=URI_PARAM_P;
> 
> Suggest add missing break.
> 
> 2.
> 
> 
> > [parser/parse_uri.c:624] -> [parser/parse_uri.c:624]: (warning) Variable 'state' \
> > is reassigned a value before the old one has been used. 'break;' missing? \
> > [parser/parse_uri.c:628] -> [parser/parse_uri.c:628]: (warning) Variable 'state' \
> > is reassigned a value before the old one has been used. 'break;' missing? \
> > [parser/parse_uri.c:631] -> [parser/parse_uri.c:631]: (warning) Variable 'state' \
> > is reassigned a value before the old one has been used. 'break;' missing? \
> > [parser/parse_uri.c:636] -> [parser/parse_uri.c:636]: (warning) Variable 'state' \
> > is reassigned a value before the old one has been used. 'break;' missing?
> Duplicates.
> 
> Regards
> 
> David Binderman 		 	   		
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic