View | Details | Raw Unified | Return to bug 1802
Collapse All | Expand All

(-)a/RELEASE_NOTES (+1 lines)
 Lines 28-33    Link Here 
28
- Bug 1777 - Implement the more direct way of "using" configuration of existing tap interface
28
- Bug 1777 - Implement the more direct way of "using" configuration of existing tap interface
29
- Bug 1776 - Improve CRC performance for CsmaNetDevice in emulation modes
29
- Bug 1776 - Improve CRC performance for CsmaNetDevice in emulation modes
30
- Bug 1798 - Changing the rate of onOffApplication might stop transmission
30
- Bug 1798 - Changing the rate of onOffApplication might stop transmission
31
- Bug 1802 - Possible header deserialization problem with IPv4 fragments
31
32
32
Release 3.18.1
33
Release 3.18.1
33
==============
34
==============
(-)a/src/flow-monitor/model/ipv4-flow-classifier.cc (+10 lines)
 Lines 119-124    Link Here 
119
    case UDP_PROT_NUMBER:
119
    case UDP_PROT_NUMBER:
120
      {
120
      {
121
        UdpHeader udpHeader;
121
        UdpHeader udpHeader;
122
        if (ipPayload->GetSize () < udpHeader.GetSerializedSize ())
123
          {
124
            // the packet doesn't carry enough bytes
125
            return false;
126
          }
122
        ipPayload->PeekHeader (udpHeader);
127
        ipPayload->PeekHeader (udpHeader);
123
        tuple.sourcePort = udpHeader.GetSourcePort ();
128
        tuple.sourcePort = udpHeader.GetSourcePort ();
124
        tuple.destinationPort = udpHeader.GetDestinationPort ();
129
        tuple.destinationPort = udpHeader.GetDestinationPort ();
 Lines 128-133    Link Here 
128
    case TCP_PROT_NUMBER:
133
    case TCP_PROT_NUMBER:
129
      {
134
      {
130
        TcpHeader tcpHeader;
135
        TcpHeader tcpHeader;
136
        if (ipPayload->GetSize () < tcpHeader.GetSerializedSize ())
137
          {
138
            // the packet doesn't carry enough bytes
139
            return false;
140
          }
131
        ipPayload->PeekHeader (tcpHeader);
141
        ipPayload->PeekHeader (tcpHeader);
132
        tuple.sourcePort = tcpHeader.GetSourcePort ();
142
        tuple.sourcePort = tcpHeader.GetSourcePort ();
133
        tuple.destinationPort = tcpHeader.GetDestinationPort ();
143
        tuple.destinationPort = tcpHeader.GetDestinationPort ();

Return to bug 1802