Changeset f52bcdd for lib/format_dag24.c


Ignore:
Timestamp:
03/26/08 11:04:54 (13 years ago)
Author:
Shane Alcock <salcock@…>
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:
5ceb545
Parents:
f0fb38f
Message:
  • Fixed bugs where packet->buffer was being set to packet->buffer, which is either meaningless or a good opportunity to segfault :[
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dag24.c

    rf0fb38f rf52bcdd  
    282282                packet->buf_control = TRACE_CTRL_EXTERNAL;
    283283       
    284         erfptr = (dag_record_t *)packet->buffer;
     284        erfptr = (dag_record_t *)buffer;
    285285        packet->buffer = erfptr;
    286286        packet->header = erfptr;
Note: See TracChangeset for help on using the changeset viewer.