Changeset 3a87f4f


Ignore:
Timestamp:
05/29/08 13:27:49 (14 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:
ce7c7af
Parents:
35782f6
Message:
  • Ensure that remaining is not null before changing the value
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols_l3.c

    r35782f6 r3a87f4f  
    5050
    5151        if ((ntohs(ipptr->ip_off) & SW_IP_OFFMASK) != 0) {
    52                 *remaining = 0;         /* Not sure if this is right but
    53                                            consistency is a good thing, right?
    54                                          */
     52                if (remaining)
     53                        *remaining = 0;         
    5554                return NULL;
    5655        }
Note: See TracChangeset for help on using the changeset viewer.