Ignore:
Timestamp:
2018-03-10T11:30:39Z (6 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
5447c59
Parents:
3f44e43 (diff), 4a9c6b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/s5bytestream.c

    r3f44e43 r7a9d968  
    500500        case BS_PHASE_REPLY:
    501501        {
    502                 struct socks5_message socks5_reply;
     502                struct socks5_message socks5_reply = {0};
    503503                int ret;
    504504
     
    888888        char *proxy, *next, *errmsg = NULL;
    889889        char port[6];
    890         char host[HOST_NAME_MAX + 1];
     890        char host[NI_MAXHOST + 1];
    891891        jabber_streamhost_t *sh, *sh2;
    892892        GSList *streamhosts = jd->streamhosts;
     
    10461046                        unsigned char nmethods;
    10471047                        unsigned char method;
    1048                 } socks5_hello;
     1048                } socks5_hello = {0};
    10491049
    10501050                if (!(ret = jabber_bs_peek(bt, &socks5_hello, sizeof(socks5_hello)))) {
     
    10911091        case BS_PHASE_REQUEST:
    10921092        {
    1093                 struct socks5_message socks5_connect;
     1093                struct socks5_message socks5_connect = {0};
    10941094                int msgsize = sizeof(struct socks5_message);
    10951095                int ret;
Note: See TracChangeset for help on using the changeset viewer.