| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 0x12, | 395 0x12, |
| 396 0x2a, | 396 0x2a, |
| 397 0x98, | 397 0x98, |
| 398 0xe0, | 398 0xe0, |
| 399 0x29}; | 399 0x29}; |
| 400 | 400 |
| 401 SurvivesMaliciousPacket(kTruncatedPacket, sizeof(kTruncatedPacket), 100); | 401 SurvivesMaliciousPacket(kTruncatedPacket, sizeof(kTruncatedPacket), 100); |
| 402 } | 402 } |
| 403 | 403 |
| 404 TEST_F(ReceiverFecTest, TruncatedPacketWithFBitSetEndingAfterFirstRedHeader) { | 404 TEST_F(ReceiverFecTest, TruncatedPacketWithFBitSetEndingAfterFirstRedHeader) { |
| 405 const uint8_t kPacket[] = {0xa9, | 405 const uint8_t kPacket[] = {0x89, |
| 406 0x27, | 406 0x27, |
| 407 0x3a, | 407 0x3a, |
| 408 0x83, | 408 0x83, |
| 409 0x27, | 409 0x27, |
| 410 0x3a, | 410 0x3a, |
| 411 0x3a, | 411 0x3a, |
| 412 0xf3, | 412 0xf3, |
| 413 0x67, | 413 0x67, |
| 414 0xbe, | 414 0xbe, |
| 415 0x2a, | 415 0x2a, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 0x27, | 489 0x27, |
| 490 0xc4, | 490 0xc4, |
| 491 0x2a, | 491 0x2a, |
| 492 0x21, | 492 0x21, |
| 493 0x2a, | 493 0x2a, |
| 494 0x28}; | 494 0x28}; |
| 495 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100); | 495 SurvivesMaliciousPacket(kPacket, sizeof(kPacket), 100); |
| 496 } | 496 } |
| 497 | 497 |
| 498 } // namespace webrtc | 498 } // namespace webrtc |
| OLD | NEW |