commit | 440ea726f39a92137c9140fbd533c84d41aaf500 | [log] [tgz] |
---|---|---|
author | dschinazi <dschinazi@google.com> | Wed Aug 26 18:21:54 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Aug 26 18:22:30 2020 -0700 |
tree | 5b4cc9cb51419e820dd6c2e1a7cdccedebd63b4c | |
parent | 87aad8ac58db30d6ac22f81cbbb6181f437ae369 [diff] |
Add memory safety guard for QuicFrame The current memory model for QuicFrame is error-prone in that the owner of an array of QuicFrames is responsible for deleting non-inlined frames. This CL adds a check in debug and asan builds that will ensure that we crash if we accidentally attempt to delete an ACK frame that is owned by the QuicReceivedPacketManager. Debug-only change PiperOrigin-RevId: 328649792 Change-Id: I419cec433393d9f978dffc7f4f54e60c5293fc05