Initialize arrays before use.
In edited code is possible usage of not initialized array. It's caused by reason, that GetProgramInfoLog and GetShaderInfoLog functions can end without filling of the passed array. This error can be detected by MSan. To fix this problem arrays was initialized before being passed and printed. R=aelias@chromium.org BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2600113002 Cr-Commit-Position: refs/heads/master@{#440964}
Showing
Please register or sign in to comment