Revert "Revert "[analyzer] Quickfix: do not overflow in calculating offset in RegionM...
authorGeorge Karpenkov <ekarpenkov@apple.com>
Tue, 27 Feb 2018 00:05:04 +0000 (00:05 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Tue, 27 Feb 2018 00:05:04 +0000 (00:05 +0000)
commit50339a2e84622f6c492a4b2f3dc5e79a6769399a
tree343e70a699e40b30df7a6a4fd7f523308663b8c4
parenta459dab937ffdce9dc2c2dff1d93c678da7141cd
Revert "Revert "[analyzer] Quickfix: do not overflow in calculating offset in RegionManager""

This reverts commit c4cc41166d93178a3ddd4b2b5a685cf74a459247.

Revert and fix uninitialized read.

llvm-svn: 326152
clang/lib/StaticAnalyzer/Core/MemRegion.cpp
clang/test/Analysis/region-store.cpp
clang/test/Analysis/region_store_overflow.c [new file with mode: 0644]