[svn-commits] rmudgett: trunk r400016 - in /trunk: ./ channels/ channels/sip/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Sep 27 16:44:45 CDT 2013
Author: rmudgett
Date: Fri Sep 27 16:44:42 2013
New Revision: 400016
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400016
Log:
chan_sip: Increase some scratch buffer sizes dealing with caller id.
* Eliminated an unnecessary initialization in check_user_full().
(closes issue ASTERISK-22477)
Reported by: Michael Shepelev
........
Merged revisions 400013 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 400014 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 400015 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
trunk/channels/sip/reqresp_parser.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=400016&r1=400015&r2=400016
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Sep 27 16:44:42 2013
@@ -18701,9 +18701,9 @@
int sipmethod, const char *uri, enum xmittype reliable,
struct ast_sockaddr *addr, struct sip_peer **authpeer)
{
- char from[256] = "", *of, *name, *unused_password, *domain;
+ char from[256], *of, *name, *unused_password, *domain;
enum check_auth_result res = AUTH_DONT_KNOW;
- char calleridname[50];
+ char calleridname[256];
char *uri2 = ast_strdupa(uri);
terminate_uri(uri2); /* trim extra stuff */
Modified: trunk/channels/sip/reqresp_parser.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sip/reqresp_parser.c?view=diff&rev=400016&r1=400015&r2=400016
==============================================================================
--- trunk/channels/sip/reqresp_parser.c (original)
+++ trunk/channels/sip/reqresp_parser.c Fri Sep 27 16:44:42 2013
@@ -806,7 +806,7 @@
int get_name_and_number(const char *hdr, char **name, char **number)
{
char header[256];
- char tmp_name[50];
+ char tmp_name[256];
char *tmp_number = NULL;
char *hostport = NULL;
char *dummy = NULL;
More information about the svn-commits
mailing list