[safe-to-break] Fix logic when there is no out-buffer
diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc
index c65e057..6d13e17 100644
--- a/src/hb-buffer.cc
+++ b/src/hb-buffer.cc
@@ -663,6 +663,12 @@
 void
 hb_buffer_t::unsafe_to_break_from_outbuffer (unsigned int start, unsigned int end)
 {
+  if (!have_output)
+  {
+    unsafe_to_break_impl (start, end);
+    return;
+  }
+
   assert (start <= out_len);
   assert (idx <= end);