DescriptionNetEq: Changing checked_cast to saturated_cast
The cast involves packet_len_samp, which is derived from the timestamps
and sequence numbers of incoming packets. Being values from the outside,
these should be treated as if any value is possible, making a
checked_cast unsuitable. Changing instead to saturated_cast to avoid
overflow with out-of-bounds values.
Committed: https://crrev.com/38d840c35a85996b9b50294becc2239e8123f67e
Cr-Commit-Position: refs/heads/master@{#13815}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|