bool PrintRenderFrameHelper::PrintPreviewContext::IsRendering() const {
  return state_ == RENDERING || state_ == DONE;
}

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