Changeset 4f161e3 for protocols/msn


Ignore:
Timestamp:
2015-01-16T19:50:24Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
85c3004
Parents:
a6cd799
Message:

msn_ns_send_adl_1: Fix alloc_strlen coverity warning

Allocating insufficient memory for the terminating null of the string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    ra6cd799 r4f161e3  
    881881        struct msn_buddy_data *bd = bu->data;
    882882        struct msn_data *md = bu->ic->proto_data;
    883         char handle[strlen(bu->handle)];
     883        char handle[strlen(bu->handle) + 1];
    884884        char *domain;
    885885        char l[4];
Note: See TracChangeset for help on using the changeset viewer.