Fix for broken trunk commit, setting contact_str size to the size of sql variable it's stored in [contact VARCHAR(1024)] + 1 for the null.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3113 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b9a215313d
commit
eaf4409b45
|
@ -2669,7 +2669,7 @@ static uint8_t handle_register(nua_t *nua,
|
||||||
switch_event_t *s_event;
|
switch_event_t *s_event;
|
||||||
char *from_user = (char *) from->a_url->url_user;
|
char *from_user = (char *) from->a_url->url_user;
|
||||||
char *from_host = (char *) from->a_url->url_host;
|
char *from_host = (char *) from->a_url->url_host;
|
||||||
char *contact_str[256] = "";
|
char contact_str[1025] = "";
|
||||||
char buf[512];
|
char buf[512];
|
||||||
char *passwd = NULL;
|
char *passwd = NULL;
|
||||||
uint8_t stale = 0, ret = 0, forbidden = 0;
|
uint8_t stale = 0, ret = 0, forbidden = 0;
|
||||||
|
|
Loading…
Reference in New Issue