diff options
| author | dequis <dx@dxzone.com.ar> | 2015-01-16 16:50:24 -0300 | 
|---|---|---|
| committer | dequis <dx@dxzone.com.ar> | 2015-01-16 16:50:24 -0300 | 
| commit | 4f161e3abeecee0722487e9d61a85f6c953d11bd (patch) | |
| tree | 8a00c6c364149c22528cbb38628b50b54be346d0 /protocols | |
| parent | a6cd799ce11c9792ed3e817d947ccef19cc6aee0 (diff) | |
msn_ns_send_adl_1: Fix alloc_strlen coverity warning
Allocating insufficient memory for the terminating null of the string
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/msn/ns.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index c4b6c462..7646e237 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -880,7 +880,7 @@ static gboolean msn_ns_send_adl_1( gpointer key, gpointer value, gpointer data )  	struct bee_user *bu = value;  	struct msn_buddy_data *bd = bu->data;  	struct msn_data *md = bu->ic->proto_data; -	char handle[strlen(bu->handle)]; +	char handle[strlen(bu->handle) + 1];  	char *domain;  	char l[4]; | 
