Alessio Bazzica d31843e436 rtc::MsanUninitialized to mark a trivially copiable object as uninitialized
Setting a default value for a class members prevents memory sanitizer
to behave correctly and may confuse the reader.
Instead, one should use rtc::MsanUninitialized, which creates an object of
a given type and marks its memory as uninitialized.
This prevents issues in production (due to uninitialized memory) and
allows MemorySantizier to catch invalid access patterns.

Bug: webrtc:8762
Change-Id: I74c79caa9c19ea85708e89e24bc5516c4d9d12a1
Reviewed-on: https://webrtc-review.googlesource.com/52342
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22773}
2018-04-06 14:57:02 +00:00
..
2018-02-13 10:47:24 +00:00
2017-11-27 13:56:22 +00:00
2018-03-26 11:38:10 +00:00
2018-01-25 19:12:14 +00:00
2017-12-18 08:44:43 +00:00
2018-02-15 16:10:15 +00:00
2018-02-15 16:10:15 +00:00