commit | a3ba0c7f5a347ec310ffa95efdf078950134abd5 | [log] [tgz] |
---|---|---|
author | Magnus Jedvert <magjed@webrtc.org> | Thu May 21 15:39:21 2015 |
committer | Magnus Jedvert <magjed@webrtc.org> | Thu May 21 15:39:00 2015 |
tree | 5b053e729680d57472c14f75a1b76c0d02f2d32a | |
parent | 36a1438a66b74628c1f9f3c4d3ea322156958169 [diff] |
RTPFragmentationHeader::VerifyAndAllocateFragmentationHeader: Verify that size fits in 16 bits This CL change the function declaration from uint16_t to size_t, and CHECKs that the size fits in uint16_t before proceeding. BUG=484432 R=tommi@webrtc.org Committed: https://crrev.com/10022cdeae785187e1d4329042b4ed294c393a16 Cr-Commit-Position: refs/heads/master@{#9246} Review URL: https://webrtc-codereview.appspot.com/47229004 Cr-Commit-Position: refs/heads/master@{#9253}