message: Fix an UB
diff: @@ -37,6 +37,7 @@ std::string get_root_type_name_tag(const DexType* root_type) {
  // Keep scanning backwards. Find the first cap letter of the second to last
  // word if any.
  // E.g., "Lcom/facebook/TypedEventBase;" -> "esaBE".
  + if (rit != root_type_name.rend()) {
  for (++rit; rit != root_type_name.rend(); ++rit) {
  auto c = *rit;
  if (isupper(c)) {
  @@ -44,6 +45,7 @@ std::string get_root_type_name_tag(const DexType* root_type) {
  break;
  }
  }
  + }
  auto root_name_tag_str = root_name_tag.str();
  // Apparantly, since we were traversing in reverse, we need to reverse the
  // name tag string.
  