Changeset 63a2713


Ignore:
Timestamp:
05/28/04 15:35:02 (17 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
dadc609
Parents:
101aa76
Message:

fixed a broken bzero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r101aa76 r63a2713  
    268268                                }
    269269                                unix_sock.sun_family = AF_UNIX;
    270                                 bzero(unix_sock.sun_path);
     270                                bzero(unix_sock.sun_path,108);
    271271                                snprintf(unix_sock.sun_path,108,"%s",libtrace->conn_info.path);
    272272
     
    379379        assert(status);
    380380        assert(len > 104); // we know we see packets this big anyway. Don't be silly.
     381
     382        bzero(buffer,len);
    381383       
    382384        if (libtrace->format == PCAP || libtrace->format == PCAPINT) {
Note: See TracChangeset for help on using the changeset viewer.