[merp] Don't overrun buffer in copy_summary_string_safe … (#17176)