DescriptionReplace const-reference with pointer in SendData.
This argument is never used as a reference and the pointer that's bound
to the const reference may be nullptr. This is undefined behavior and
barks under UBSan.
BUG=webrtc:5124
R=stefan@webrtc.org
Committed: https://crrev.com/fb152707ed224cc9e51850a698ca739f9a76aff1
Cr-Commit-Position: refs/heads/master@{#11418}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|