diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2018-10-23 18:38:15 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2018-10-23 18:38:15 +0000 |
| commit | 55fb053f577ece32711e4d785d8ccca4f70cdf09 (patch) | |
| tree | efe453b203d20ca6ba09be270f26ead7932b5a17 /llvm/lib | |
| parent | 8c4796deb492d0c3fc0cc47a164676e32f816097 (diff) | |
| download | bcm5719-llvm-55fb053f577ece32711e4d785d8ccca4f70cdf09.tar.gz bcm5719-llvm-55fb053f577ece32711e4d785d8ccca4f70cdf09.zip | |
When filling a vector<bool> with stuff, initialize the last word of the storage that you're touching. Otherwise, when we lay down the bits with operator&=, we get UB from reading uninitialized memory. Fixes Bug 39354. Thanks to David Wagner for the bug report.
llvm-svn: 345067
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

