commit | 555c77a27672186242019b38edac498ac9579b19 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Sep 14 23:08:34 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Sep 14 23:08:34 2010 +0000 |
tree | 7a6c9faa31e8a044a41396cc9846c6b017fa9507 | |
parent | c4e1a6815235ade1a4affe3511ca5ce2dcc64467 [diff] |
Don't divide-by-zero in RegionStoreManager::getSizeInElements() when getting the size of a VLA. We don't track VLA extents yet, but we should at least not crash. Fixes <rdar://problem/8424269>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113888 91177308-0d34-0410-b5e6-96231b3b80d8