Index: webrtc/p2p/base/pseudotcp.cc |
diff --git a/webrtc/p2p/base/pseudotcp.cc b/webrtc/p2p/base/pseudotcp.cc |
index 42f6bad4b9337b3f554aa26d8c6df28be98520f6..44893747cced237f03e7b7cee7beb4686ce22371 100644 |
--- a/webrtc/p2p/base/pseudotcp.cc |
+++ b/webrtc/p2p/base/pseudotcp.cc |
@@ -573,7 +573,7 @@ IPseudoTcpNotify::WriteResult PseudoTcp::packet(uint32_t seq, |
} |
bool PseudoTcp::parse(const uint8_t* buffer, uint32_t size) { |
- if (size < 12) |
+ if (size < HEADER_SIZE) |
return false; |
Segment seg; |