Changeset 46af107


Ignore:
Timestamp:
2007-02-18T17:34:19Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8de63c3
Parents:
f959495
Message:

Fixed uninitialized memory issue in bitlbee.c listen socket setup code.
Fixes #230 and #183.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.c

    rf959495 r46af107  
    6969       
    7070#ifdef IPV6
     71        memset( &listen_addr6, 0, sizeof( listen_addr6 ) );
    7172        listen_addr6.sin6_family = AF_INET6;
    7273        listen_addr6.sin6_port = htons( global.conf->port );
     
    7677                use_ipv6 = 0;
    7778#endif
     79                memset( &listen_addr, 0, sizeof( listen_addr ) );
    7880                listen_addr.sin_family = AF_INET;
    7981                listen_addr.sin_port = htons( global.conf->port );
Note: See TracChangeset for help on using the changeset viewer.