message: Fixing possible null pointer dereference
diff: @@ -6264,6 +6264,7 @@ namespace pugi
  return found.parent().first_element_by_path(next_segment, delimiter);
  else
  {
  + if (found._root) {
  for (xml_node_struct* j = found._root->first_child; j; j = j->next_sibling)
  {
  if (j->name && impl::strequalrange(j->name, path_segment, static_cast<size_t>(path_segment_end - path_segment)))
  @@ -6272,6 +6273,7 @@ namespace pugi
  if (subsearch) return subsearch;
  }
  + }
  }
  return xml_node();
  