bool PrintRenderFrameHelper::PrintPreviewContext::HasSelection() {
  return IsModifiable() && source_frame()->HasSelection();
}

The product writes data past the end, or before the beginning, of the intended buffer.