Changeset 89aa13f


Ignore:
Timestamp:
05/06/16 11:36:04 (6 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
e26c1fc
Parents:
13bcf9e
Message:

Fix possible infinite loop parsing extended RadioTap?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/link_15.c

    r8b49230 r89aa13f  
    4747                printf("  extended fields:");
    4848       
    49         while( (rtap_pres) & (1 << TRACE_RADIOTAP_EXT) ) {
     49        while( (bswap_le_to_host32(*ptr)) & (1 << TRACE_RADIOTAP_EXT) ) {
    5050                rtap_real_len += sizeof (uint32_t);
    5151                ptr++;
Note: See TracChangeset for help on using the changeset viewer.