-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Description
| Bugzilla Link | 44652 |
| Resolution | FIXED |
| Resolved on | Jan 27, 2020 06:19 |
| Version | trunk |
| OS | Linux |
| Blocks | #43900 |
| Attachments | crc_folding.c standalone repro |
| CC | @topperc,@eugenis,@zmodem,@RKSimon,@rotateright |
Extended Description
This is very similar to issue 42982, but in slightly different vectorized crc code in zlib.
As far as I can tell, no uninitialized reads happen here, and things are happy before eb0e197
bin/clang crc_folding.c -msse4.2 -mpclmul -g -O2 -fsanitize=memory && ./a.out
==135688==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x499549 in crc_fold_512to32 /usr/local/google/home/thakis/src/chrome/src/crc_folding.c:479:16
#1 0x499549 in main /usr/local/google/home/thakis/src/chrome/src/crc_folding.c:514:10
#2 0x7f706ab6f52a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2352a)
#3 0x41f269 in _start (/usr/local/google/home/thakis/src/chrome/src/a.out+0x41f269)
SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/local/google/home/thakis/src/chrome/src/crc_folding.c:479:16 in crc_fold_512to32
(reduced from https://crbug.com/1045291)