Fix a possibility for out of bound accesses in logging within Cache.cpp
Merge pull request #89 from lioncash/array-bounds

Fix a possibility for out of bound accesses in logging within Cache.cpp