Index: compiler-rt/trunk/lib/hwasan/hwasan_report.cpp =================================================================== --- compiler-rt/trunk/lib/hwasan/hwasan_report.cpp +++ compiler-rt/trunk/lib/hwasan/hwasan_report.cpp @@ -335,7 +335,7 @@ tag_t *center_row_beg = reinterpret_cast( RoundDownTo(reinterpret_cast(tag_ptr), row_len)); tag_t *beg_row = center_row_beg - row_len * (num_rows / 2); - tag_t *end_row = center_row_beg + row_len * (num_rows / 2); + tag_t *end_row = center_row_beg + row_len * ((num_rows + 1) / 2); InternalScopedString s(GetPageSizeCached() * 8); for (tag_t *row = beg_row; row < end_row; row += row_len) { s.append("%s", row == center_row_beg ? "=>" : " ");